reset

returns the specified template object to its default settings.

# Metadata

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

# Syntax

reset [the] template{objectType}

# Params

- objectType : One of LiveCode's objects: stack, group, card, field, button, graphic, image, scrollbar, player, audioClip, videoClip, or EPS.

# Examples

reset the templateGraphic

reset the templateStack

# Description

Use the reset command to change a template object back to its defaults after you have changed it temporarily.

Change the property of template objects temporarily to easily create a number of objects of that type with the property settings you want.

>*Note:* The LiveCode development environment makes changes to template > objects when it creates new objects. This means that > objects you create in the development environment may not have the > same property settings as objects you create in a > standalone application.

# Tags

# See