<!--
{
  "documentType" : "article",
  "framework" : "USD",
  "identifier" : "/documentation/USD/preliminary-behavior",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Preliminary_Behavior"
}
-->

# Preliminary_Behavior

A typed schema that combines one or more triggers with associated actions.

## Discussion

Because it inherits `Typed`, this schema declares a `Preliminary_Behavior` as a type of prim. For more information about typed schemas, see USD Specification > [Typed](http://graphics.pixar.com/usd/docs/USD-Glossary.html#USDGlossary-TypedSchema).

To run actions based on a trigger, an asset defines a prim of this type and sets its [triggers](/documentation/USD/triggers) and [actions](/documentation/USD/actions).

### Declaration

```other
class Preliminary_Behavior "Preliminary_Behavior" (
    inherits = </Typed>
)
```

### Trigger animation for a tapped cube

The following example demonstrates a behavior that applies an `EmphasizeAction` to a cube to flip it. Because the cube defines a tap trigger, the runtime performs the flip when a user taps the cube in an AR experience.

```other
#usda 1.0

def Preliminary_Behavior "TapAndFlip"
{
    rel triggers = [ <Tap> ]
    rel actions = [ <Entry> ]

    def Preliminary_Trigger "Tap" ( inherits = </TapGestureTrigger> )
    {
        rel affectedObjects = [ </Cube> ]
    }

    def Preliminary_Action "Entry" ( inherits = </GroupAction> )
    {
        uniform token type = "parallel"
        rel actions = [ <Flip> ]
    }

    def Preliminary_Action "Flip" ( inherits = </EmphasizeAction> )
    {
        rel affectedObjects = [ </Cube> ]
        uniform token motionType = "flip"
    }
}

def Cube "Cube" { }
```

## Topics

### Properties

[triggers](/documentation/USD/triggers)

A list of prims that execute a behavior’s actions.

[actions](/documentation/USD/actions)

A list of actions that make up the group.

[exclusive](/documentation/USD/exclusive)

A Boolean value that determines if a behavior executes exclusively.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)