On collision, both objects are picked, so just check what you want.
Depends on the calculation - that is the nature of the problem. I can't answer why this didn't happen before.
Generally you use a second invisible sprite, pinned, to deal with this kind of thing.
zeropad()
https://www.scirra.com/manual/126/system-expressions
Develop games in your browser. Powerful, performant & highly capable.
You have to read the value correctly: it is 3 times 10 to the power of -14, which is: 0.00000000000003. Clearly this is 'almost' zero.
Ashley's answer is still valid. Computers produce small rounding errors all of the time. You have to deal with them. If you are basing your animation on VectorY=0, don't. Check for < 0.1, or something like that.
Just add "Pick random instance", or some other expression if you have more specific criteria. "Pick 0th instance" will also just pick the first one.
LIteTween is another option, and is time based.
***Layout***, not Layer.
You can use ELSE.
You can add Sepia to the Layout.
Those are Construct Classic effects, not Construct 2 effects. The format is different.
Member since 28 May, 2012