Troubleshooting

Settatribute in one-line script doesn't set anything

Started by hodok on .

Sign in or create an account to join the conversation.

3 posts

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