How to edit a text label from BRS file

Hey, new here, was wondering how could I edit a text label defined in the XML, from the brightscript file. Thanks.

Make sure your label has an ID in XML, e.g. id=“mylabel”, then you can do:

mylabel = m.top.findNode("mylabel")
mylabel.text = "My new text"

Yes as per documentation all these fields can easily be manipulated for text node

https://developer.roku.com/en-gb/docs/references/scenegraph/label-nodes/label.md

height="44"
  width="0"
  font="font:MediumBoldSystemFont"
  text = "Application Development Made Easy!"
  horizAlign = "left"
  vertAlign = "center"
  translation="[318,8]

mylabel.translation = [330,8] for example