z(z: number): ZComp

Determines the draw order for objects on the same layer. Object will be drawn on top if z value is bigger.
kaplay logo

3001.0.0-alpha.18

Misc