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"), ])
// This game object will draw a "bean" sprite at (100, 200) add([ pos(100, 200), sprite("bean"), ])