Face (Property)

From Goodblox Wiki
Revision as of 22:14, 23 September 2021 by Xyrafrost (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Property
Name Face
Property Enum NormalId (the side of the brick)
Description: Sets what face of the brick the object appears on.
In Object: Decal


The Enum NormalId is used to set the side of the brick the object is on.

  • 0: right
  • 1: top
  • 2: back
  • 3: left
  • 4: bottom
  • 5: front

Example

-- this will set the decal on top of the brick:
decal = script.Parent.Decal
decal.Face = 1