# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
the selectedButton of [{card | background}] family familyNumber
# Params
- familyNumber : A positive integer.
# Examples
the selectedButton of family 3
put the selectedButton of family myFamily into thisButton
# Description
Use the selectedButton function to find out the current setting of a radio button controlled by the family property.
This function exists for compatibility with imported HyperCard stacks. You can use the radioBehavior property to cause a group consisting of buttons to behave as a radio button, and use the hilitedButton property to find out which button in the group is highlight.
# Tags
ui,
# See
- **keyword:** string, button - **property:** family, hilitedButton, radioBehavior - **command:** group - **object:** button - **glossary:** property, highlight, radio button, return - **control structure:** function