Skip to content
Why isn't this isTouch function working?
Profile icon
has Hacker Plan

I am working on a weird game like thing and I need to collect what the user clicks. I know how to do kaboom but its been a while so I don't remember how to do the function to for seeing if something is clicked. Anybody know how to see if the sprite is clicked?

You are viewing a single comment. View All
Answered by STCollier [earned 5 cycles]
View Answer
Profile icon

@p1ckl3 here's a tag example:

const player = add([ sprite("bean"), area(), solid(), "player" //this is a tag in kaboom ])