BasePart

extends PVInstance

Class fields

FieldXML typeValue
NamestringBasePart
summarystringA structural class, not creatable
ExplorerOrderstring-1
Browsableboolfalse

Properties

54
Anchored
bool
FieldXML typeValue
NamestringAnchored
summarystringDetermines 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
FieldXML typeValue
NamestringBackParamA
BackParamB
float
FieldXML typeValue
NamestringBackParamB
BackSurface
SurfaceType
FieldXML typeValue
NamestringBackSurface
BackSurfaceInput
InputType
FieldXML typeValue
NamestringBackSurfaceInput
BottomParamA
float
FieldXML typeValue
NamestringBottomParamA
BottomParamB
float
FieldXML typeValue
NamestringBottomParamB
BottomSurface
SurfaceType
FieldXML typeValue
NamestringBottomSurface
BottomSurfaceInput
InputType
FieldXML typeValue
NamestringBottomSurfaceInput
BrickColor
BrickColor
FieldXML typeValue
NamestringBrickColor
CFrame
CoordinateFrame
FieldXML typeValue
NamestringCFrame
summarystringContains 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
FieldXML typeValue
NamestringCanCollide
summarystringDetermines 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
FieldXML typeValue
NamestringColor
summarystringControls the part's rendered color.
Color3uint8
Color3uint8
FieldXML typeValue
NamestringColor3uint8
Browsableboolfalse
summarystringHidden serialized color representation. This property is not scriptable.
CustomPhysicalProperties
PhysicalProperties
FieldXML typeValue
NamestringCustomPhysicalProperties
DraggingV1
bool
FieldXML typeValue
NamestringDraggingV1
Elasticity
float
FieldXML typeValue
NamestringElasticity
summarystringA 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.
UIMinimumdouble0
UIMaximumdouble1
Friction
float
FieldXML typeValue
NamestringFriction
summarystringA 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.
UIMinimumdouble0
UIMaximumdouble2
FrontParamA
float
FieldXML typeValue
NamestringFrontParamA
FrontParamB
float
FieldXML typeValue
NamestringFrontParamB
FrontSurface
SurfaceType
FieldXML typeValue
NamestringFrontSurface
FrontSurfaceInput
InputType
FieldXML typeValue
NamestringFrontSurfaceInput
LeftParamA
float
FieldXML typeValue
NamestringLeftParamA
LeftParamB
float
FieldXML typeValue
NamestringLeftParamB
LeftSurface
SurfaceType
FieldXML typeValue
NamestringLeftSurface
LeftSurfaceInput
InputType
FieldXML typeValue
NamestringLeftSurfaceInput
LocalTransparencyModifier
float
FieldXML typeValue
NamestringLocalTransparencyModifier
Locked
bool
FieldXML typeValue
NamestringLocked
summarystringDetermines whether building tools (in-game and studio) can manipulate this Part. If true, no editing allowed. If false, editing is allowed.
Material
Material
FieldXML typeValue
NamestringMaterial
summarystringSpecifies 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
FieldXML typeValue
NamestringNetworkIsSleeping
NetworkOwnerV3
SystemAddress
FieldXML typeValue
NamestringNetworkOwnerV3
NetworkOwnershipRuleBool
bool
FieldXML typeValue
NamestringNetworkOwnershipRuleBool
Position
Vector3
FieldXML typeValue
NamestringPosition
ReceiveAge
float
FieldXML typeValue
NamestringReceiveAge
Reflectance
float
FieldXML typeValue
NamestringReflectance
summarystringSpecifies how shiny the Part is. A value of 1 is completely reflective (chrome), while a value of 0 is no reflectance (concrete wall)
UIMinimumdouble0
UIMaximumdouble1
ResizeIncrement
int
FieldXML typeValue
NamestringResizeIncrement
summarystringSets the value for the smallest change in size allowable by the Resize(NormalId, int) function.
ResizeableFaces
Faces
FieldXML typeValue
NamestringResizeableFaces
summarystringSets the value for the faces allowed to be resized by the Resize(NormalId, int) function.
RightParamA
float
FieldXML typeValue
NamestringRightParamA
RightParamB
float
FieldXML typeValue
NamestringRightParamB
RightSurface
SurfaceType
FieldXML typeValue
NamestringRightSurface
RightSurfaceInput
InputType
FieldXML typeValue
NamestringRightSurfaceInput
RotVelocity
Vector3
FieldXML typeValue
NamestringRotVelocity
Rotation
Vector3
FieldXML typeValue
NamestringRotation
Size
Vector3
FieldXML typeValue
NamestringSize
SpecificGravity
float
FieldXML typeValue
NamestringSpecificGravity
TopParamA
float
FieldXML typeValue
NamestringTopParamA
TopParamB
float
FieldXML typeValue
NamestringTopParamB
TopSurface
SurfaceType
FieldXML typeValue
NamestringTopSurface
TopSurfaceInput
InputType
FieldXML typeValue
NamestringTopSurfaceInput
Transparency
float
FieldXML typeValue
NamestringTransparency
summarystringSets how visible an object is. A value of 1 makes the object invisible, while a value of 0 makes the object opaque.
UIMinimumdouble0
UIMaximumdouble1
Velocity
Vector3
FieldXML typeValue
NamestringVelocity
summarystringHow 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
FieldXML typeValue
NamestringbrickColor
siz
Vector3
FieldXML typeValue
Namestringsiz
size
Vector3
FieldXML typeValue
Namestringsize

Functions

18
BreakJoints
() → void
FieldXML typeValue
NamestringBreakJoints
summarystringDestroys SurfaceJoints with all parts that are touching this Instance (including internal joints in the Instance, as in a Model).
CanSetNetworkOwnership
() → Tuple
FieldXML typeValue
NamestringCanSetNetworkOwnership
GetConnectedParts
(recursive: bool = …) → Objects
FieldXML typeValue
NamestringGetConnectedParts
GetMass
() → float
FieldXML typeValue
NamestringGetMass
summarystringReturns 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
FieldXML typeValue
NamestringGetNetworkOwner
GetNetworkOwnershipAuto
() → bool
FieldXML typeValue
NamestringGetNetworkOwnershipAuto
GetRenderCFrame
() → CoordinateFrame
FieldXML typeValue
NamestringGetRenderCFrame
GetRootPart
() → Instance
FieldXML typeValue
NamestringGetRootPart
GetTouchingParts
() → Objects
FieldXML typeValue
NamestringGetTouchingParts
IsGrounded
() → bool
FieldXML typeValue
NamestringIsGrounded
MakeJoints
() → void
FieldXML typeValue
NamestringMakeJoints
summarystringCreates 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
FieldXML typeValue
NamestringResize
summarystringResizes 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
FieldXML typeValue
NamestringSetNetworkOwner
SetNetworkOwnershipAuto
() → void
FieldXML typeValue
NamestringSetNetworkOwnershipAuto
breakJoints
() → void
FieldXML typeValue
NamestringbreakJoints
getMass
() → float
FieldXML typeValue
NamestringgetMass
summarystringUse GetMass() instead
Deprecatedbooltrue
makeJoints
() → void
FieldXML typeValue
NamestringmakeJoints
summarystringUse MakeJoints() instead
Deprecatedbooltrue
resize
(normalId: NormalId, deltaAmount: int) → bool
FieldXML typeValue
Namestringresize

Events

7
LocalSimulationTouched
(part: Instance) → void
FieldXML typeValue
NamestringLocalSimulationTouched
Deprecatedbooltrue
summarystringDeprecated. Use Touched instead
NetworkOwnerChanged
(systemAddress: SystemAddress) → void
FieldXML typeValue
NamestringNetworkOwnerChanged
OutfitChanged
() → void
FieldXML typeValue
NamestringOutfitChanged
Deprecatedbooltrue
StoppedTouching
(otherPart: Instance) → void
FieldXML typeValue
NamestringStoppedTouching
summarystringDeprecated. Use TouchEnded instead
TouchEnded
(otherPart: Instance) → void
FieldXML typeValue
NamestringTouchEnded
summarystringFired when the part stops touching another part
Touched
(otherPart: Instance) → void
FieldXML typeValue
NamestringTouched
touched
(otherPart: Instance) → void
FieldXML typeValue
Namestringtouched