subscript(_:)
Returns an array of nodes that match the name parameter.
Declaration
subscript(name: String) -> [SKNode] { get }Parameters
- name:
The name to search for. This may be either the literal name of the node or a customized search string. See
Searching the Node Tree.
Mentioned in
Return Value
An array of SKNode objects that match the name. If no matching nodes are found, an empty array is returned.