When moving actor constrain to upright position

Hi,
How do I change the orientation of a block when touched. For instance if the block is on its side,
when I touch it it automatically reorients itself to the top side up before I drop it again.
Regards
How do I change the orientation of a block when touched. For instance if the block is on its side,
when I touch it it automatically reorients itself to the top side up before I drop it again.
Regards
Comments
rule; If touch is pressed
Change attribute, rotation -> 0