Jump to content

[Help] How to disable keyboards controls


Recommended Posts

Actually, Im not sure if it's the correct aproach, my problem is that I show a textedit, and user will write in it, but when I make it as a Widget, and add it to overlay when I press keyboards actions keys (like "A", "S", "D") the character still walks.

I tried out with Screen instead of Widget, and it works fines, except I can't interact with inventory and items while other screen is active, which is necessary.

If there is a way to use it as Screen, and I pass the functions to the hud screen (I have a reference there) to make the mouse works would be nice, but still hadnt find anyway to do so.


Thanks in advanced.

Edited by caioketo
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...