BP how to stop the object your stood on from rotating when picked from a sequence of assets?

Hi everyone.

Im trying to get 3 cubes to rotate in 90 degree increments in the same blueprint on key press.

Cube 1 rotates right on key E press, and left on Q press. On R press it moves to rotate cube 2 instead, and then onto the 3rd.

This works now and I cant find another way of setting it up, but this current setup makes it difficult (at my level) to stop the cube your stood on from rotating but still allow you to rotate the other 2.

Ive attached some images of my blueprint setup as it stands now.

Any guidance on this would be greatly appreciated, even if its just a nudge in the right direction.

Thanks!