Controller input influences Editable Textbox textcursor.

DbroKing
Mon, 20 Mar 2023 15:38:27 +0000
Game Development

I have a UI containing an editable textbox, while also having a player being controlled with an xbox controller. While in the textbox, the player still moves, which is great, that’s what I want. HOWEVER, when I type in the textbox and move, let’s say, left on my controller, the textcursor inside the textbox also moves left. How do I… not have it do that? How can I keep my controller input strictly to the player and not the UI?

1 post - 1 participant