Data type
Faces
A data type containing six booleans, each representing a face of a
BasePart.
About Faces
The Faces data type contains six booleans representing whether a
feature is enabled for each face (NormalId) of a Part. In other words,
this contains a boolean for each axes (X/Y/Z) in both directions
(positive/negative). The Handles object uses this data type to enable
whether a direction has a visible handle on a Part's face.
local handles = Instance.new("Handles")
handles.Faces = Faces.new(Enum.NormalId.Front, Enum.NormalId.Left)
Like most data types on Roblox, the Faces data type is immutable and you
cannot assign to its properties once created.
Constructors 1
Faces.new
(normalIds...: Tuple)Returns aFaceswith the corresponding face of each passedNormalIdastrue.
Properties 6
Top
: boolWhether the top face is included.Whether the top face (positive Y direction, corresponding to
NormalId.Top) is included in thisFacesvalue. Defaults tofalsewhenNormalId.Topis not passed to theFaces.newconstructor.Bottom
: boolWhether the bottom face is included.Whether the bottom face (negative Y direction, corresponding to
NormalId.Bottom) is included in thisFacesvalue. Defaults tofalsewhenNormalId.Bottomis not passed to theFaces.newconstructor.Left
: boolWhether the left face is included.Whether the left face (negative X direction, corresponding to
NormalId.Left) is included in thisFacesvalue. Defaults tofalsewhenNormalId.Leftis not passed to theFaces.newconstructor.Right
: boolWhether the right face is included.Whether the right face (positive X direction, corresponding to
NormalId.Right) is included in thisFacesvalue. Defaults tofalsewhenNormalId.Rightis not passed to theFaces.newconstructor.Back
: boolWhether the back face is included.Whether the back face (positive Z direction, corresponding to
NormalId.Back) is included in thisFacesvalue. Defaults tofalsewhenNormalId.Backis not passed to theFaces.newconstructor.Front
: boolWhether the front face is included.Whether the front face (negative Z direction, corresponding to
NormalId.Front) is included in thisFacesvalue. Defaults tofalsewhenNormalId.Frontis not passed to theFaces.newconstructor.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.