I want to make an ask/option menu dismissable with

config.allowDismissRootMenu = 1

but am not sure where to place the variable assignment.

I have tried various places, including the game script or in the sprite script to no avail.

Can anyone shed any light please?

This config only applies to menu, not ask. Those are different functions!

To answer the question anyway, it should work from any event. A sensible place would be in the game's script start event.

Thanks for the explanation.

1 Like