action(forKey:)
Returns an action associated with a specific key.
Declaration
func action(forKey key: String) -> SKAction?Parameters
- key:
A string that uniquely identifies an action.
Mentioned in
Return Value
If an action exists that matches the key, the action object is returned. Otherwise, nil is returned.