Float around the room as scratch cat to catch a mouse. Use your mouse pointer to go in that direction.
@Chinmayi312 I was trying to make a chase game (the variables were not working), then i found their project and copied their script.