How to make NPC dissapear when given items

so i want to make it that when this npc here is given a key item they move out of the way and let you use there ship because behind them is a boat but you cant see it
image_2022-08-07_212038921.png
use moveRoute option when you give the item (-1 item),
than the npc can say "Thank you",
followed by the moveRoute and set a selfswitch so she stays there.

it's that simple 🙂
Do you have a link to a tutorial?
Do you have a link to a tutorial?

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-npc-dissapear-when-given-items.150221/