Trying to move an imagesprite to a random spot after colliding with another imagesprite

Trying to get code to move an imagesprite to a random spot after colliding with another image sprite.

For Sprite1 to collide with Sprite2 and then move Sprite1 to a random spot on the Canvas you could try: