# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
set the selected of object to {true | false}
# Examples
if the selected of button "Group" then select button "Ahhh"
# Description
Use the selected property to select an object or find out whether the user has selected it with the Pointer tool.
You can select an object by setting its selected property to true, and deselect it by setting its selected to false.
# Tags
ui,
# See
- **property:** selected - **command:** select, focus, choose - **function:** selectedImage - **glossary:** object, property, Pointer tool