Is it possible to
runtime.objects.Sprite.getAllInstances();
and then do collision detection in the script rather than using events?
Yes. Look at the Ghost Shooter code example which does collision detection in scripting.
Develop games in your browser. Powerful, performant & highly capable.
Thanks a lot :)