Auto-translated
What is a movable object? Only a movable object, a hero, or a neutral creature can be moved.
Added 2 minutes later
The Tab key is not needed; I don't know what that was for.
You also need to add a function to remove the action; otherwise, the script will always trigger whenever you enter the region.
Added 2 minutes later
The Tab key is not needed; I don't know what that was for.
You also need to add a function to remove the action; otherwise, the script will always trigger whenever you enter the region.