isPressed on ui button

Hello. All button element click events are triggered once. Is it possible to repeat the IsPressed event for the keyboard for the button elements

It works to but I prefer mouse events.
mousedown, mousemove, mouseup and mousewheel are mouse events.

If you want to add an event or use the isPressed method to a mouse click. The following links will help you.

You will understand more by reading this top links.

IsPressesd, wasReleased and wasPressed are for keyboard and mouse action.

There are events for mouse and touchscreen behavior. The top links shares the events for mouse.

1 Like