Page 1 of 1

OnMouseOver to trigger also when mouse is on top of it right from beginning.

Posted: Tue Sep 17, 2024 8:15 am
by Bugala
This isn't a big deal, but would be nice.

The thing is, I notice this since my game menu has big buttons.

Often times when I start the program and the menu loads, the mouse pointer is already on top of one of the buttons, and in cases like this, the OnMouseOver doesn't happen until I move the mouse pointer.

It would be nice if OnMouseOver could happen even when the mouse pointer is not moving in cases like this.

Like when a button is created, maybe check if the mouse pointer is on top of it. Or maybe even give a command to manually do the OnMouseOver check.

Re: OnMouseOver to trigger also when mouse is on top of it right from beginning.

Posted: Sat Sep 21, 2024 6:21 pm
by airsoftsoftwair
Sorry, won't come as this will break existing scripts but you can easily check this yourself.