Class

BasePart

since 0.10.0-dev

Base class for every physical, 3D part in the world. Anything with a position, size and physics inherits from it.

InheritsInstance
Inherited byMeshPart

Properties

17
NameTypeAccessDescription
Transparencynumberreadwrite

How see-through the part is, from 0 (fully opaque) to 1 (fully invisible).

since 1.6.9-4-alphaRoblox ↗
LocalTransparencyModifiernumberreadwrite

A client-only transparency offset layered on top of Transparency. Not replicated to the server.

since 1.6.9-4-alphaRoblox ↗
PositionVector3readwrite

The world position of the part's center.

since 0.10.0-devRoblox ↗
CFrameCFramereadwrite

The position and orientation of the part, as a CFrame.

since 0.10.0-devRoblox ↗
SizeVector3readwrite

The dimensions of the part, in studs.

since 0.10.0-devRoblox ↗
ColorColor3read

The color of the part.

since 1.9.4-betaRoblox ↗
OrientationVector3readwrite

The part's rotation as Euler angles (X, Y, Z), derived from its CFrame. Note: unlike Roblox's degree-based Orientation, this value is in radians, beware of this when performing mathematical operations on it. If you want to ONLY rotate the part, but not freeze it, write to this property instead of the CFrame property!

since 1.7.1-alpha
VelocityVector3readwrite

The linear velocity of the part's assembly. Alias of AssemblyLinearVelocity.

since 0.7.0-alphaRoblox ↗
AssemblyLinearVelocityVector3readwrite

The linear velocity of the part's physics assembly, in studs per second.

since 0.7.0-alphaRoblox ↗
AssemblyAngularVelocityVector3readwrite

The angular velocity of the part's physics assembly, in radians per second.

since 0.7.0-alphaRoblox ↗
IsNetworkOwnerbooleanread

Whether the local client owns this part's physics (i.e. our client is simulating it).

since 0.4.0-alpha
NetworkOwnerV3numberreadwrite
CanCollidebooleanreadwrite

Whether the part physically collides with other parts.

since 0.2.5-alphaRoblox ↗
CanTouchbooleanreadwrite

Whether the part fires Touched / TouchEnded events.

since 0.2.5-alphaRoblox ↗
CanQuerybooleanreadwrite

Whether the part is considered by spatial queries such as raycasts.

since 0.2.5-alphaRoblox ↗
Anchoredbooleanreadwrite

Whether the part is immovable by physics.

since 0.2.5-alphaRoblox ↗
NetworkIsSleepingbooleanreadwrite

Whether the part's physics assembly is currently asleep (not being simulated).

since 0.2.5-alpha