Javascript - How to test collision

Hi guys, i’ve been trying to use collisionTest from runtimeObject, but i can’t seem to get it working. What is the proper way to declare the function, and how do you get the objects you want from the scene. This in JS code.

Thanks for reading this. :slight_smile: