Skip to content

The Face Object Field Actors on get

Christopher Ross-Gill edited this page Aug 1, 2016 · 1 revision

on-get returns values that are stored inside the face and can be invoked with GET-FACE.

The input argument should not be needed when using GET-FACE, but it can be allowed. The return value should be the value that GET-FACE should return.

Examples

Simply return the internal value of the face:

on-get: [
  face/state/value
]

Returns the color value from a face that stores a color:

on-get: [
   face/facets/colors
]
Clone this wiki locally