Help with I6

Hi all! I’m sure this may be very easy but I can’t figure out how to do it: I need to check if the player is trying to move in any direction (north, south…) and prevent him from doing it if he is lying on a bed. So he would need to get up first. Any idea? Thanks!

So take this with a grain of salt, as I6 isn’t my best language.

But I would give the bed object a react_before that intercepts Go actions, and prints a message and stops the action if the player is lying on it.

Great idea! I will try that. Thanks a lot :slight_smile: