πŸŽ‰Textbox

input lord

var textbox =new Textbox({
  name:"text",//textbox name
  position:{//you enter where it will be on the screen
    x:"50%",y:"50%"
  },
  scale:{//automatically adjusts if you do not add this
    x:"25px",
    y:"25px"
  },
  layer:100,//you don't have to type is automatically set to 100
  placeholder:"sa",//it writes into it what to do when you do nothing
  value:"selam",//comes with an automatic value
  eval:`
  console.log(event.data)
  //for example, write to console, you can use functions
  `,
  removeable:true//erases itself after sending data
})
circle-info

You don't have to add anything other than name and position.

textboxfocus = function(key){
  console.log("You focused the textbox:"+key)//textbox name
}

Update

Get

Remove

Last updated