Page 1 of 1

Button State

PostPosted: Wed Jan 17, 2018 8:17 pm
by sweethorizon
In Widget Designer 4.7 I would use customscript1.value to get the state of the button (on or off). I would use this in a mouse over function to cue a video and mouse exit to take the video out of cue state. Pressing the button would of course play the video. It looks like this function is not in WD 6. There doesn't seem to be a .value member to the CustomScript1 command nor is there a member in the Context command either. I see that the CustomScript node reports on the state of the button so I know it is reporting the state somewhere.

Am I missing this? Did it get moved to a different command? Or is this not working yet in version 6?



Thanks.

Brian

Re: Button State

PostPosted: Thu Jan 18, 2018 8:24 am
by Mike Mengen
Hi Brian,

you can get the state of a Button with CustomScript1.ButtonStyle

Regards
Mike

Re: Button State

PostPosted: Sun Feb 04, 2018 8:13 pm
by sweethorizon
Thank you. Exactly what I was looking for.