MV Galv_ScreenButtons error in a event

hi, I encountered an error while trying to create a "cancel" button on the event. The event can be reopened if closed by clicking the esc key on the keyboard, but cannot be reopened if you click the cancel button on the screen. and can be reopened again by opening and closing the menu. does anyone experience something similar and know how to fix it? please tell me

to be clear, here is the video



I also use ALOE_VirtualButtons, is that what is causing the error?
Ikon Diverifikasi Komunitas
Hi there!

I think maybe when you click on the event, it is executing twice.
Can you try to set a wait value at the end of the event that is handling the cancel button?
Something like 15 frames.
Hi there!

I think maybe when you click on the event, it is executing twice.
Can you try to set a wait value at the end of the event that is handling the cancel button?
Something like 15 frames.
wow! it really works. thanks for the help good people

Original thread: https://forums.rpgmakerweb.com/threads/galv_screenbuttons-error-in-a-event.145649/