kind

The unique identifier of a widget type.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 8.0 Security:

# Syntax

get the kind of widget

# Examples

if the kind of widget 1 is "com.livecode.widget.colorswatch" then set the swatchColor of widget 1 to "200,100,5,50" end if

# Description

Use the kind property to identify the type of an arbitrary widget object.

# Tags

# See

- **glossary:** property - **object:** widget