extends PVInstance
Class fields
| Field | XML type | Value |
|---|---|---|
Name | string | BasePart |
summary | string | A structural class, not creatable |
ExplorerOrder | string | -1 |
Browsable | bool | false |
Properties
54Anchored
bool| Field | XML type | Value |
|---|---|---|
Name | string | Anchored |
summary | string | Determines whether or not physics acts upon the Part. If true, part stays 'Anchored' in space, not moving regardless of any collision/forces acting upon it. If false, physics works normally on the part. |
BackParamA
float| Field | XML type | Value |
|---|---|---|
Name | string | BackParamA |
BackParamB
float| Field | XML type | Value |
|---|---|---|
Name | string | BackParamB |
BackSurface
SurfaceType| Field | XML type | Value |
|---|---|---|
Name | string | BackSurface |
BackSurfaceInput
InputType| Field | XML type | Value |
|---|---|---|
Name | string | BackSurfaceInput |
BottomParamA
float| Field | XML type | Value |
|---|---|---|
Name | string | BottomParamA |
BottomParamB
float| Field | XML type | Value |
|---|---|---|
Name | string | BottomParamB |
BottomSurface
SurfaceType| Field | XML type | Value |
|---|---|---|
Name | string | BottomSurface |
BottomSurfaceInput
InputType| Field | XML type | Value |
|---|---|---|
Name | string | BottomSurfaceInput |
BrickColor
BrickColor| Field | XML type | Value |
|---|---|---|
Name | string | BrickColor |
CFrame
CoordinateFrame| Field | XML type | Value |
|---|---|---|
Name | string | CFrame |
summary | string | Contains information regarding the Part's position and a matrix that defines the Part's rotation. Can read/write. <a href="http://wiki.roblox.com/index.php/Cframe" target="_blank">More info</a> |
CanCollide
bool| Field | XML type | Value |
|---|---|---|
Name | string | CanCollide |
summary | string | Determines whether physical interactions with other Parts are respected. If true, will collide and react with physics to other Parts. If false, other parts will pass thru instead of colliding |
Color
Color3| Field | XML type | Value |
|---|---|---|
Name | string | Color |
summary | string | Controls the part's rendered color. |
Color3uint8
Color3uint8| Field | XML type | Value |
|---|---|---|
Name | string | Color3uint8 |
Browsable | bool | false |
summary | string | Hidden serialized color representation. This property is not scriptable. |
CustomPhysicalProperties
PhysicalProperties| Field | XML type | Value |
|---|---|---|
Name | string | CustomPhysicalProperties |
DraggingV1
bool| Field | XML type | Value |
|---|---|---|
Name | string | DraggingV1 |
Elasticity
float| Field | XML type | Value |
|---|---|---|
Name | string | Elasticity |
summary | string | A float value ranging from 0.0f to 1.0f. Sets how much the Part will rebound against another. a value of 1 is like a superball, and 0 is like a lead block. |
UIMinimum | double | 0 |
UIMaximum | double | 1 |
Friction
float| Field | XML type | Value |
|---|---|---|
Name | string | Friction |
summary | string | A float value ranging from 0.0f to 1.0f. Sets how much the Part will be able to slide. a value of 1 is no sliding, and 0 is no friction, so infinite sliding. |
UIMinimum | double | 0 |
UIMaximum | double | 2 |
FrontParamA
float| Field | XML type | Value |
|---|---|---|
Name | string | FrontParamA |
FrontParamB
float| Field | XML type | Value |
|---|---|---|
Name | string | FrontParamB |
FrontSurface
SurfaceType| Field | XML type | Value |
|---|---|---|
Name | string | FrontSurface |
FrontSurfaceInput
InputType| Field | XML type | Value |
|---|---|---|
Name | string | FrontSurfaceInput |
LeftParamA
float| Field | XML type | Value |
|---|---|---|
Name | string | LeftParamA |
LeftParamB
float| Field | XML type | Value |
|---|---|---|
Name | string | LeftParamB |
LeftSurface
SurfaceType| Field | XML type | Value |
|---|---|---|
Name | string | LeftSurface |
LeftSurfaceInput
InputType| Field | XML type | Value |
|---|---|---|
Name | string | LeftSurfaceInput |
LocalTransparencyModifier
float| Field | XML type | Value |
|---|---|---|
Name | string | LocalTransparencyModifier |
Locked
bool| Field | XML type | Value |
|---|---|---|
Name | string | Locked |
summary | string | Determines whether building tools (in-game and studio) can manipulate this Part. If true, no editing allowed. If false, editing is allowed. |
Material
Material| Field | XML type | Value |
|---|---|---|
Name | string | Material |
summary | string | Specifies the look and feel the Part should have. Note: this does not define the color the Part is, see BrickColor for that. <a href="http://wiki.roblox.com/index.php/Material" target="_blank">More info</a> |
NetworkIsSleeping
bool| Field | XML type | Value |
|---|---|---|
Name | string | NetworkIsSleeping |
NetworkOwnerV3
SystemAddress| Field | XML type | Value |
|---|---|---|
Name | string | NetworkOwnerV3 |
NetworkOwnershipRuleBool
bool| Field | XML type | Value |
|---|---|---|
Name | string | NetworkOwnershipRuleBool |
Position
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | Position |
ReceiveAge
float| Field | XML type | Value |
|---|---|---|
Name | string | ReceiveAge |
Reflectance
float| Field | XML type | Value |
|---|---|---|
Name | string | Reflectance |
summary | string | Specifies how shiny the Part is. A value of 1 is completely reflective (chrome), while a value of 0 is no reflectance (concrete wall) |
UIMinimum | double | 0 |
UIMaximum | double | 1 |
ResizeIncrement
int| Field | XML type | Value |
|---|---|---|
Name | string | ResizeIncrement |
summary | string | Sets the value for the smallest change in size allowable by the Resize(NormalId, int) function. |
ResizeableFaces
Faces| Field | XML type | Value |
|---|---|---|
Name | string | ResizeableFaces |
summary | string | Sets the value for the faces allowed to be resized by the Resize(NormalId, int) function. |
RightParamA
float| Field | XML type | Value |
|---|---|---|
Name | string | RightParamA |
RightParamB
float| Field | XML type | Value |
|---|---|---|
Name | string | RightParamB |
RightSurface
SurfaceType| Field | XML type | Value |
|---|---|---|
Name | string | RightSurface |
RightSurfaceInput
InputType| Field | XML type | Value |
|---|---|---|
Name | string | RightSurfaceInput |
RotVelocity
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | RotVelocity |
Rotation
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | Rotation |
Size
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | Size |
SpecificGravity
float| Field | XML type | Value |
|---|---|---|
Name | string | SpecificGravity |
TopParamA
float| Field | XML type | Value |
|---|---|---|
Name | string | TopParamA |
TopParamB
float| Field | XML type | Value |
|---|---|---|
Name | string | TopParamB |
TopSurface
SurfaceType| Field | XML type | Value |
|---|---|---|
Name | string | TopSurface |
TopSurfaceInput
InputType| Field | XML type | Value |
|---|---|---|
Name | string | TopSurfaceInput |
Transparency
float| Field | XML type | Value |
|---|---|---|
Name | string | Transparency |
summary | string | Sets how visible an object is. A value of 1 makes the object invisible, while a value of 0 makes the object opaque. |
UIMinimum | double | 0 |
UIMaximum | double | 1 |
Velocity
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | Velocity |
summary | string | How fast the Part is traveling in studs/second. This property is NOT recommended to be modified directly, unless there is good reason. Otherwise, try using a BodyForce to move a Part. |
brickColor
BrickColor| Field | XML type | Value |
|---|---|---|
Name | string | brickColor |
siz
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | siz |
size
Vector3| Field | XML type | Value |
|---|---|---|
Name | string | size |
Functions
18BreakJoints
() → void| Field | XML type | Value |
|---|---|---|
Name | string | BreakJoints |
summary | string | Destroys SurfaceJoints with all parts that are touching this Instance (including internal joints in the Instance, as in a Model). |
CanSetNetworkOwnership
() → Tuple| Field | XML type | Value |
|---|---|---|
Name | string | CanSetNetworkOwnership |
GetConnectedParts
(recursive: bool = …) → Objects| Field | XML type | Value |
|---|---|---|
Name | string | GetConnectedParts |
GetMass
() → float| Field | XML type | Value |
|---|---|---|
Name | string | GetMass |
summary | string | Returns a number that is the mass of this Instance. Mass of a Part is immutable, and is changed only by the size of the Part. |
GetNetworkOwner
() → Instance| Field | XML type | Value |
|---|---|---|
Name | string | GetNetworkOwner |
GetNetworkOwnershipAuto
() → bool| Field | XML type | Value |
|---|---|---|
Name | string | GetNetworkOwnershipAuto |
GetRenderCFrame
() → CoordinateFrame| Field | XML type | Value |
|---|---|---|
Name | string | GetRenderCFrame |
GetRootPart
() → Instance| Field | XML type | Value |
|---|---|---|
Name | string | GetRootPart |
GetTouchingParts
() → Objects| Field | XML type | Value |
|---|---|---|
Name | string | GetTouchingParts |
IsGrounded
() → bool| Field | XML type | Value |
|---|---|---|
Name | string | IsGrounded |
MakeJoints
() → void| Field | XML type | Value |
|---|---|---|
Name | string | MakeJoints |
summary | string | Creates the appropriate SurfaceJoints with all parts that are touching this Instance (including internal joints in the Instance, as in a Model). This uses the SurfaceTypes defined on the surfaces of parts to create the appropriate welds. <a href="http://wiki.roblox.com/index.php/MakeJoints" target="_blank">More info</a> |
Resize
(normalId: NormalId, deltaAmount: int) → bool| Field | XML type | Value |
|---|---|---|
Name | string | Resize |
summary | string | Resizes a Part in the direction of the face defined by 'NormalId', by the amount specified by 'deltaAmount'. If the operation will expand the part to intersect another Instance, the part will not resize at all. Return true if the call is successful, false otherwise. |
SetNetworkOwner
(playerInstance: Instance = …) → void| Field | XML type | Value |
|---|---|---|
Name | string | SetNetworkOwner |
SetNetworkOwnershipAuto
() → void| Field | XML type | Value |
|---|---|---|
Name | string | SetNetworkOwnershipAuto |
breakJoints
() → void| Field | XML type | Value |
|---|---|---|
Name | string | breakJoints |
getMass
() → float| Field | XML type | Value |
|---|---|---|
Name | string | getMass |
summary | string | Use GetMass() instead |
Deprecated | bool | true |
makeJoints
() → void| Field | XML type | Value |
|---|---|---|
Name | string | makeJoints |
summary | string | Use MakeJoints() instead |
Deprecated | bool | true |
resize
(normalId: NormalId, deltaAmount: int) → bool| Field | XML type | Value |
|---|---|---|
Name | string | resize |
Events
7LocalSimulationTouched
(part: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | LocalSimulationTouched |
Deprecated | bool | true |
summary | string | Deprecated. Use Touched instead |
NetworkOwnerChanged
(systemAddress: SystemAddress) → void| Field | XML type | Value |
|---|---|---|
Name | string | NetworkOwnerChanged |
OutfitChanged
() → void| Field | XML type | Value |
|---|---|---|
Name | string | OutfitChanged |
Deprecated | bool | true |
StoppedTouching
(otherPart: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | StoppedTouching |
summary | string | Deprecated. Use TouchEnded instead |
TouchEnded
(otherPart: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | TouchEnded |
summary | string | Fired when the part stops touching another part |
Touched
(otherPart: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | Touched |
touched
(otherPart: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | touched |