moveXY
@zylem/game-lib / actions / moveXY
Function: moveXY()
moveXY(
entity,deltaX,deltaY):void
Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/moveable-CFOHmblC.d.ts:41
Move an entity along the X and Y axis, preserving Z velocity.
Parameters
entity
EntityWithBody
deltaX
number
deltaY
number
Returns
void