Select another sprite, something for your character to chase.
In this sprite give it a Flag event. When its senses it's touching the character, play a sound and go to a random position.