native.newTextField Problem

Hey there

so my question is:

Can I move an native.newTextField inside a group?

I tried this:

emailField = native.newTextField( 10, 320 , 300, tHeight, onEmailField )  
emailField.font = native.newFont( native.systemFontBold, inputFontSize )  
emailField.text = ""  
emailField.inputType = "email"  
emailField:setTextColor( 51, 51, 122, 255 )  
keyboardGroup:insert( emailField )  
  
keyboardGroup.y = keyboardGroup.y - 200  
  

but nothing happens… I put a print to check if keyboardGroup moves and he moves but my emailField no

anyone knows anything about it?
thanks [import]uid: 23063 topic_id: 17654 reply_id: 317654[/import]

Native elements don’t respond to groups. They are independent [import]uid: 84637 topic_id: 17654 reply_id: 67222[/import]

so how can I move them? [import]uid: 23063 topic_id: 17654 reply_id: 67224[/import]

Move the email field on it’s own, just do emailField.y = emailField.y - 200

Peach :slight_smile: [import]uid: 52491 topic_id: 17654 reply_id: 67241[/import]

Thaaanks Peach

this helps!! [import]uid: 23063 topic_id: 17654 reply_id: 67381[/import]

Not a problem :slight_smile: [import]uid: 52491 topic_id: 17654 reply_id: 67473[/import]