hitTest doesnt works, i think its some code i am missing or doing wrong

What Wick Editor Version are you using?
1.19.3
Describe the Problem
i cant make the hitTest work. when i do this nothing happens . i want it that when it hits the object it gets teleported to another frame.
Screenshot - 21-May-21 , 10_16_55 PM

What have you tried so far?
tried if this.hits and many other type of text formats but failure

1 Like

this is the safer one to use than hitTest. but if that doesn’t work, theni’m not really sure just from that screenshot. if you have the wick file, maybe we can help.

1 Like

I think the problem is not with the hitTest code, take a look at your console-
image

(I know I said I would be inactive for 99.99999999%, but this is that 0.00000001% ;)

1 Like

I understand nothing.

I don’t have a assets, true but I haven’t included anything about sound in the code.

I will send once I open my computer.