pos(x: number, y: number): PosComp
Set the position of a Game Object.// This game object will draw a "bean" sprite at (100, 200) add([ pos(100, 200), sprite("bean"), ])
Assets
Components
Component Types
Input
Events
Info
Math
Misc
Draw
Level
Plugins
Button Bindings