GMS 2 Using a sprite's collision mask without it being attached to an object?


I'm drawing a bunch of sprites without them being directly attached to an object. I keep their positions in list data structures.

I'd like to do some collision checks with them. Unfortunately they have complex shapes so I can't just use an ellipse or a rectangle. Is there a way I can use their collision masks for collision checking without them being tied to an object? It seems all the collision checking functions that use collision masks require to input an object's name as a parameter.


aka fel666
I think their is no way but to create a temporary object.
But if you keep the object around, and reuse it, the performance impact should be négligeable