Cube.getSpriteFrameOrder() - Mtax-Development/GML-OOP GitHub Wiki

Argument

Name
Type
Optional
sprite?
Yes

Returns

{int[]}

Description

Return the frame order of this Cube using its current or specified Sprite. Each of its sides will be represented in following order, depending on the number of frames that Sprite has:
  • 1: Every side.
  • 2: Top and bottom, All sides.
  • 3: Top, Bottom, All sides.
  • 4: Top, Bottom, Left and right, Front and back.
  • 5: Top and bottom, Left, Front, Right, Back.
  • 6+: Top, Bottom, Left, Front, Right, Back.

⚠️ **GitHub.com Fallback** ⚠️