Function
pos
(x: number, y: number): PosCompSet the position of a Game Object.
param x- The x position to set.
param y- The y position to set.
// This game object will draw a "bean" sprite at (100, 200)
add([
pos(100, 200),
sprite("bean"),
]);returns The position comp.
since v2000.0
group Components