MV Does something like onmouseover exist?

Code:
SceneManager._scene._goldWindow.onmouseover = function() {
    $gameParty.members()[0].gainHp(-100);
}
This does not work. So I guess onmouseover does not exist. Is there any way the game detects if you hover over the goldWindow?
so far I know, each function has a capital, so it would be .onMouseOver
or .onMouseover.

but if it doesn't exist, you need to create that function.

while there are 2 plugins out there, which can do when you hover
a mouse on certain event, not sure on windows scenes though.
This plugin says to have an on hover function: https://forums.rpgmakerweb.com/index.php?threads/mouse-system.127226/
this one is also one [MimosaCursor], but if you want to target the menu
mouse over, you can take a look at this one which is based on touchinput
and window selectable, and while the gold window is not selectable, it would
be different to target windows with the mouse and it's update.
Side note:
The following functions are equivalent.
JavaScript:
$gameParty.members()[0]
$gameParty.leader()

Also since not every actor has their own money, but rather they share it, the scriptcall to change that money is actually directly on $gameParty
JavaScript:
$gameParty.gainGold(x);
Ok, thx for the help guys! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/does-something-like-onmouseover-exist.150734/