Page 1 of 1

Menu state

Posted: 23 Aug 2012 10:11
by sheen
Hi is it possible to detect the state of a menu in a script?

I'm building a pseudo scrollable menu, I have two arrow buttons that I'd like to page when the menu is open and increment by 1 when the menu is closed. Also is it possible to display individual items in a different colour?

Re: Menu state

Posted: 23 Aug 2012 11:55
by Phil999
the current state can be displayed with a Monitor object and Menu.selection in the value field.

And I think you can change the colour with a script using setattribute.