PIN

Typeproperty
Dictionarywidget.lockpattern
LibraryPattern Lock
Syntax
get the PIN of <widget>
Synonymspatternpath
Associationscom.livecode.widget.lockpattern
Summary

The resulting PIN of the drawn pattern.

OSmac, windows, linux, ios, android
Platformsdesktop, mobile, web
Example
    local tPIN

    put the PIN of widget "Pattern Lock" into tPIN

    if the length of tPIN < 4 then
      put "At least 4 points required" into field "message"
      set the PatternError of widget "Pattern Lock" to true
    end if
RelatedProperty: backgroundOpacity, ShowPattern, RoundedRadius, PIN, PatternError
Message: InputComplete
Description

Use the PIN property to get the PIN generated by the pattern that the user drew.