wrapAroundXY
@zylem/game-lib / actions / wrapAroundXY
Function: wrapAroundXY()
wrapAroundXY(
entity,boundsX,boundsY):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:85
Wrap entity around 2D bounds
Parameters
entity
EntityWithBody
boundsX
number
boundsY
number
Returns
void