Kaboom.js question


I was following a tutorial and it says to use origin and action(). But they don’t exist? But how does the tutorial use it then?

Repl link/Link to where the bug appears:

Screenshots, links, or other helpful context:

code snippet

The tutorial:

Hey, @Yui-Hei-ArthurH welcome to the forums!

Can you please provide a link to the repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code:

The tutorial may use a newer/older version than the version you are using.


Ok wait a sec
I just started on this and it is not working for soem reaosn