Input text From User in PlayCanvas


#1

I have Tried Using Html Element Input for getting user text. But the thing is that it never really aligns with my form built in play canvas. I have tried CSS styling to get it to re-position and resize according to the screen but it never really works. Is their any other way around this or am i stuck in a dead end???


#2

Are you trying to use a html text input field with the PlayCanvas UI system?

If so, try this Released: Aphrodite Starter Kit UI Text Input


#3

yes exactly, but are their any options that are free :smiley: ??


#4

You could do the whole UI in HMTL.

What I’m guessing is that the starter kit from the above link is creating a hidden text input field and replicating the data back to the PlayCanvas UI system. So the PlayCanvas UI text element is a proxy for the hidden HTML one.


#5

yes i see that, the thing is that it doesn’t handle the cursor movement with mouse or even show it.


#6

What do you mean? As in you can’t highlight to select?


#7

yes exactly that, P.S i can see the faint cursor on the top left corner XD