What I want to achieve? I was making my simulator game but I made a button to click and get stats. The button is invisible and gives stats when clicked.
What is the issue? The issue is that the button is changing the cursor to something like this and also we can’t click on any other buttons on the screen because of the invisibe button:
If you are setting the transparency to 1, then the button will still be visible, but you just cannot see it. If you want the button to truly be not visible, then change the visibility of the button. This can replace the transparency, unless you are tweening the button.
button.Visible = false -- Make the button invisible
button.Visible = true -- Make the button visible
Note that if you are tweening the button transparency, just change the button visibility after the tween plays. If you are not tweening, then don’t worry about it.
As far as I can find, the Mouse Icon is overridden when hovering over a Button, and there is currently no option to alter this behaviour. It might be worth putting in a feature request for allowing custom mouse icons while hovering over a button, as this would have use cases beyond hiding the existence of a transparent button.