recentNames

Reports a list of the most recent cards, in reverse order.

# Metadata

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

# Syntax

get the recentNames [of stack]

# Examples

put line 1 of the recentNames after myVisitedCards

# Description

Use the recentNames property to find out which cards the user has visited, or to re-visit a card.

The recentNames are listed in reverse order, with the current card at the top of the list, the most recent cards next, and so on. Each visit to a card causes its name to be placed at the top of the list, even if the same card appears elsewhere in the list. The recentNames thus provides a complete track of the visitor's navigation.

Cards visited while the lockRecent property is set to true are not added to the list.

# Tags

# See

- **keyword:** card, line - **property:** name - **command:** unlock recent - **object:** card - **glossary:** recent cards, property, current card