Close Popup screen when mouse leave, Perspective


I’m currently working with a project that I had in Vision, but now in perspective what I did in vision was when the mouse is over popup the screen and close it when mouse leave, but seems like the close event is not working in perspective, any thoughts?

for a popup to close by script you need to give up the provided Identifiër (=/= name)

you can also toggle on modal and background dismissible.
this will case the popup to cast a grey background on the whole screen and when pressed outside the popup(so on the grey) it will close the popup.

if you know you only have one popup at a time you can also do system.perspective.closePopup('') this will close the last opened popup