Hello ,
i have a form which have a close button in top , and one button over it in bottom, all is one file, i made 3 copy of file, one is normal, one exit button is on, and one bottom button is on …
i wanna set position that when mouse is over it i do some action…
i wanna action over mouse position…
Give me a tip please or sample …
hello? any one here? even a half noob?
Use this.
function OnMouseEnter(){
//your code
}
function OnMouseExit(){
//your code to redone what done in enter
}
no , all my windows is 1 GUI TEXTURE object…
i want to know where is my mouse… and if i should replace my mouse… so i need my GUI axes and also to cut axis if display is in higher or lower resolotion…
Check out this thread for an explanation of how to do this.