opacity(o?: number): OpacityComp

Sets the opacity of a Game Object (0.0 - 1.0).
kaplay logo