#Can't press a button
1 messages · Page 1 of 1 (latest)
oh Target graphic? i can't seem to find it in my inspector
Its same the play button has a Play image an the Options button has a Options image
so it should be working
maybe just try to remove Button component from both and add new
im hovering my mouse in the play button?
I tried but showed the same problem i think its a problem of my event system
yes, but a error
when i clicked close to the play button the button is working
but when i click on the button hovering over it and clicking it the option button activates
do you have correct OnClick?
The event?
yeah
that's strange
👍
try to check the size of the screen for the game...
I had a similar problem when I first started messing with buttons.
In the game window, try changing the "free aspect" part into a definite resolution and then adjust the size as per your requirements. see if it works cuz it did for me
i will try!
I tried changing it to free aspect but its still not fixing anything maybe a event systme problem?
no... not the free aspect.
originally, I had selected the free aspect but it would mean that the size of the button would change along with that of the screen...
So, you'd better try some specific resolution
Moreover, you should also check if the "thing" that I've marked is red...
You see, I am also a noob in this and dunno what to call this, but the alignment(as I feel it to be), is in red color...
I don't know how it works but it also helped me a lot. You should change this setting in the button and then try to readjust them.
Check if it works
as for this, I'm really sorry but I can't understand a thing
Thanks you so muuch
i still can't fix it i tried to move it to where the mouse is pressing it but when i move the Other button the touch area is move up
Thank you i just change my button and deleted my scene
The case is now solved!
So, do you understand what happened???
If so, plz explain it to me as it would be very important for me in case i got into a similar trouble in the future...
Thanks
Yes i change my button to a TextMeshPro and works
thats it?