Is there a way to add an input box (for numbers) with GUI?

Hi, I wanna know if there is a way to type a number in an input box (with GUI) and then we can read that value from the input box into our code?

for example, how can I add an input box for this PG, so that when we type 90 in an input box, the skull would rotate 90 degrees.

I read the GUI doc: The Babylon GUI | Babylon.js Documentation, but I could not find something relevant.

Here’s an example showing two inputs, one which only accepts numerical keys and one which has simple dead key support:

From

3 Likes

Here is some practical example - https://playground.babylonjs.com/#0VBIE9#44

5 Likes