Faces (Struct)

From Legacy Roblox Wiki
(Redirected from Faces (DataType))
Jump to navigationJump to search
Faces
Bool Right
Bool Top
Bool Back
Bool Left
Bool Bottom
Bool Front

The Faces Struct is a set of boolean values which represent the 6 sides of a Part. It is used differently for each Property it is included in. Values must be either "true" or "false" exactly.


Included in:

Constructors

Constructor Description
Faces.new( NormalId, NormalId, ...) Creates a new Faces using list of faces.

Usage

Workspace.AllHandles.Faces = Faces.new(
	Enum.NormalId.Right,
	Enum.NormalId.Left,
	Enum.NormalId.Top,
	Enum.NormalId.Bottom,
	Enum.NormalId.Front,
	Enum.NormalId.Back
)
Workspace.SomeHandles.Faces = Faces.new(Enum.NormalId.Right, Enum.NormalId.Back, Enum.NormalId.Top)