# How to detect touch inputs; how to add a new button on UI that triggers events on game?

**URL:** https://createforum.highrise.game/t/how-to-detect-touch-inputs-how-to-add-a-new-button-on-ui-that-triggers-events-on-game/1087
**Category:** General
**Created:** [April 19, 2024, 1:31pm UTC](https://createforum.highrise.game/t/how-to-detect-touch-inputs-how-to-add-a-new-button-on-ui-that-triggers-events-on-game/1087 "2024-04-19T13:31:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![superpaala](https://yyz2.discourse-cdn.com/flex036/user_avatar/createforum.highrise.game/superpaala/32/330_2.png) [@superpaala](https://createforum.highrise.game/u/superpaala)
#### Post date: [April 19, 2024, 1:31pm UTC](https://createforum.highrise.game/t/how-to-detect-touch-inputs-how-to-add-a-new-button-on-ui-that-triggers-events-on-game/1087/1 "2024-04-19T13:31:05Z")

</div>

If I add a new canvas, there are warnings about duplicate event handlers. If I delete the event handler no GUI buttons are interactive.  
What is the recommended way to add a new button to the UI?  
Regarding the input I found the only way to detect touch is via tap handler.  
This way if I tap an object the player goes to that object and when he arrives at the destination the code is executed.

If there another way? I am looking to make a joystick to control the character, is this possible?  
Thanks

---

<div class="post-metadata">

### Author: ![Apoxol](https://avatars.discourse-cdn.com/v4/letter/a/76d3ee/32.png) [@Apoxol](https://createforum.highrise.game/u/Apoxol)
#### Post date: [April 23, 2024, 6:55pm UTC](https://createforum.highrise.game/t/how-to-detect-touch-inputs-how-to-add-a-new-button-on-ui-that-triggers-events-on-game/1087/2 "2024-04-23T18:55:37Z")

</div>

UI support is coming in our 0.6 release and more in our 0.7 release. Highrise uses ui toolkit so input via UGUI is not currently supported. The 0.6 release should be out very soon.
