This site is inactive!

This site is no longer kept up to date. It has been superseded by the Roblox API Reference. Please update your bookmarks.

The BasePart is an abstract class that represents a physical object. When it is in the Workspace, it will move and interact with other BaseParts.

Tags: notbrowsable

Members

YieldFunctions

Returns YieldFunction History
Instance SubtractAsync ( Objects parts, CollisionFidelity collisionfidelity = Default ) (+0.352)
Instance UnionAsync ( Objects parts, CollisionFidelity collisionfidelity = Default ) (+0.352)
  • 1 yieldfunction inherited from Instance

Events

Event History
NetworkOwnerChanged ( SystemAddress systemAddress ) (+0.159, −0.163)
TouchEnded ( Instance otherPart )
Touched ( Instance otherPart )
LocalSimulationTouched ( Instance part )
OutfitChanged ( )
StoppedTouching ( Instance otherPart )
touched ( Instance otherPart ) (+0.68)

Detailed Description

BaseParts are the basic building blocks of any Roblox place. Commonly known as "bricks", you'll see these the most often of any other instance, as almost every place is built out of these. It is possible to stretch a BasePart to very large sizes and use them for baseplates, or make them very small and use them to create cool looking Tools.

A green 4 x 1.2 x 2 Part

A BasePart instance can be edited using the various studio tools. It is available via either the insert menu, or the Object Insert menu. It can also be created using the 'Instance.new()' function.

Using Mesh objects, such as SpecialMesh, BlockMesh, or CylinderMesh, you can change the shape of BaseParts. Using Decal objects, you can place pictures on the surfaces of BaseParts. Sparkles, Smoke, and Fire will provide particle effects when parented under a BasePart. Using JointInstances, a BasePart can have bonds formed with another BasePart, so that the two stay in the same relative position.

There are many scripting opportunities using the BasePart. Many of the other scripting objects, such as BodyMovers, operate inside of a BasePart. Editing the BasePart's properties through a script can result in a lot of fun opportunities.

Property Descriptions

bool BasePart.Anchored

float BasePart.BackParamA

float BasePart.BackParamB

SurfaceType BasePart.BackSurface

InputType BasePart.BackSurfaceInput

float BasePart.BottomParamA

float BasePart.BottomParamB

SurfaceType BasePart.BottomSurface

InputType BasePart.BottomSurfaceInput

BrickColor BasePart.BrickColor

CoordinateFrame BasePart.CFrame

bool BasePart.CanCollide

Vector3 BasePart.CenterOfMass

Version History:(+0.294)

Tags: readonly

int BasePart.CollisionGroupId

Version History:(+0.287)

Color3 BasePart.Color

PhysicalProperties BasePart.CustomPhysicalProperties

Version History:(+0.220)

float BasePart.FrontParamA

float BasePart.FrontParamB

SurfaceType BasePart.FrontSurface

InputType BasePart.FrontSurfaceInput

float BasePart.LeftParamA

float BasePart.LeftParamB

SurfaceType BasePart.LeftSurface

InputType BasePart.LeftSurfaceInput

float BasePart.LocalTransparencyModifier

Version History:(+0.169)

Tags: hidden

bool BasePart.Locked

Material BasePart.Material

Vector3 BasePart.Orientation

Version History:(+0.290)

Vector3 BasePart.Position

float BasePart.ReceiveAge

Version History:(+0.57)

Tags: hidden, readonly

float BasePart.Reflectance

int BasePart.ResizeIncrement

Tags: readonly

Faces BasePart.ResizeableFaces

Tags: readonly

float BasePart.RightParamA

float BasePart.RightParamB

SurfaceType BasePart.RightSurface

InputType BasePart.RightSurfaceInput

Vector3 BasePart.RotVelocity

Vector3 BasePart.Rotation

Version History:(+0.110)

Vector3 BasePart.Size

float BasePart.TopParamA

float BasePart.TopParamB

SurfaceType BasePart.TopSurface

InputType BasePart.TopSurfaceInput

float BasePart.Transparency

Vector3 BasePart.Velocity

float BasePart.Elasticity

Deprecated: This member is deprecated.

Tags: hidden

float BasePart.Friction

Deprecated: This member is deprecated.

Tags: hidden

float BasePart.SpecificGravity

Version History:(+0.61)

Deprecated: This member is deprecated.

Tags: readonly

BrickColor BasePart.brickColor

Version History:(+0.68)

Deprecated: This member is deprecated.

Function Descriptions

voidBasePart.BreakJoints ( )

boolBasePart.CanCollideWith ( Instance part )

Version History:(+0.287)

TupleBasePart.CanSetNetworkOwnership ( )

Version History:(+0.208)

ObjectsBasePart.GetConnectedParts ( bool recursive = false )

Version History:(+0.113)

ObjectsBasePart.GetJoints ( )

Version History:(+0.113, −0.115, +0.317)

Tags: RobloxPlaceSecurity

floatBasePart.GetMass ( )

InstanceBasePart.GetNetworkOwner ( )

Version History:(+0.200)

boolBasePart.GetNetworkOwnershipAuto ( )

Version History:(+0.200)

InstanceBasePart.GetRootPart ( )

Version History:(+0.130)

ObjectsBasePart.GetTouchingParts ( )

Version History:(+0.196)

boolBasePart.IsGrounded ( )

Version History:(+0.113)

voidBasePart.MakeJoints ( )

InstanceBasePart.Negate ( )

Version History:(+0.331, −0.352)

Tags: LocalUserSecurity

boolBasePart.Resize ( NormalId normalId, int deltaAmount )

ObjectsBasePart.Separate ( )

Version History:(+0.335, −0.352)

Tags: LocalUserSecurity

voidBasePart.SetNetworkOwner ( Instance playerInstance = nil )

Version History:(+0.200)

voidBasePart.SetNetworkOwnershipAuto ( )

Version History:(+0.200)

InstanceBasePart.UnionWith ( Instance part )

Version History:(+0.331, −0.352)

Tags: LocalUserSecurity

CoordinateFrameBasePart.GetRenderCFrame ( )

Version History:(+0.187)

Deprecated: This member is deprecated.

voidBasePart.breakJoints ( )

Version History:(+0.49)

Deprecated: This member is deprecated.

floatBasePart.getMass ( )

Version History:(+0.48)

Deprecated: This member is deprecated.

voidBasePart.makeJoints ( )

Version History:(+0.48)

Deprecated: This member is deprecated.

boolBasePart.resize ( NormalId normalId, int deltaAmount )

Version History:(+0.50)

Deprecated: This member is deprecated.

YieldFunction Descriptions

InstanceBasePart.SubtractAsync ( Objects parts, CollisionFidelity collisionfidelity = Default )

Version History:(+0.352)

InstanceBasePart.UnionAsync ( Objects parts, CollisionFidelity collisionfidelity = Default )

Version History:(+0.352)

Event Descriptions

BasePart.NetworkOwnerChanged ( SystemAddress systemAddress )

Version History:(+0.159, −0.163)

Tags: LocalUserSecurity

BasePart.TouchEnded ( Instance otherPart )

BasePart.Touched ( Instance otherPart )

BasePart.LocalSimulationTouched ( Instance part )

Deprecated: This member is deprecated.

BasePart.OutfitChanged ( )

Deprecated: This member is deprecated.

BasePart.StoppedTouching ( Instance otherPart )

Deprecated: This member is deprecated.

BasePart.touched ( Instance otherPart )

Version History:(+0.68)

Deprecated: This member is deprecated.