I am using the
changeNumbers = ->
sketch.More_Details_Text.visible = false
sketch.Less_Details_Text.visible = true
You just call the function in your app.coffee
This is executed whenever you open or reload your prototype.
This answer might be too simple but maybe you can explain your problem more if that doesn't help. Are you working in Framer Studio?