{"identifier":103123,"topic":"Functions","name":"selectedButton","text":"<code><pre>the selectedButton of \u00ac\n  [background | card] family <i>intExpr<\/i> \n<\/pre><\/code> Value returned: the domain and number (for example,<code> card button 3<\/code>) of the highlighted button in the specified button family on the current card or background <br><br>\n\n If you don't specify<code> card <\/code>(or<code> cd<\/code>)<code> <\/code>or<code> background <\/code>(or<code> bg <\/code>or<code> bkgnd<\/code>), the family is assumed to be on the card layer. <br>\n<br>\nIf no button in the specified family is highlighted, <code>selectedButton <\/code>returns<code> empty<\/code>. <br><br>\n\n If the specified family doesn't exist, you get an error dialog box. <br>\n","related":{"99648":"family"},"examples":"\n\nget the selectedButton of family 6 -- a card family\n\nput the selectedButton of bg family 4 into hit","demo":"","debug":{"9":["the selectedButton o"],"10":["If no button in the "]}}