Troubleshooting
Settatribute in one-line script doesn't set anything
Started by hodok on .
Sign in or create an account to join the conversation.
I want to lock ball moving on y axis by button, but no luck when I doing it like this(which is the most obvious way in my humble view):
play_si.jzml
play_si.jzml
Hi
That's because holdY is not an accessible attribute
See https://forum.liine.net/viewtopic.php?f=34&t=4603&p=17918&hilit=Attribute#p17918 for a module to list attributes.
However the holdY field in the behaviours pane is scriptable and is a good way to do it as inspect the object reveals what it is controlled by. So putting CustomButton.x here will make it respond the that variable.
You could also use logical constructs here if you want a bit more control...
Cheers
That's because holdY is not an accessible attribute
See https://forum.liine.net/viewtopic.php?f=34&t=4603&p=17918&hilit=Attribute#p17918 for a module to list attributes.
However the holdY field in the behaviours pane is scriptable and is a good way to do it as inspect the object reveals what it is controlled by. So putting CustomButton.x here will make it respond the that variable.
You could also use logical constructs here if you want a bit more control...
Cheers