Hey framers! I want to add an state and set it as default. Do you know how can I do that? Thanks!
try layer.states.switchInstant "newState"
you could just set up the layer with new values in the beginning somewhere:layer.x = 100layer.y = 100layer.opacity = 1
layer.states.addstate1: opacity: 0x: 0, y: 0
This will switch between state1 and your new defaults
Thank you! Will try these out