Ask coding questions

← Back to all posts
how do i use moveTo kaboom.js
h
Kingq23

how do i use moveto in kaboom.js i cannot figure out how.

Answered by lajbel [earned 5 cycles]
View Answer
Voters
Kingq23
Comments
hotnewtop
lajbel

you are running kaboom 0.5.0 and moveTo is a 2000 function, if you want use the new versions of kaboom (2000) you can fork the new Kaboom Template or use the old docs https://kaboomlegacy.repl.co/

SixBeeps

moveTo takes two arguments for the position components. From the docs:

Kingq23

@SixBeeps when i do that i get an error