## Context.UserData

### Description

Returns or sets some private data (Variant) inside the context object. Softimage does not interprete or manipulate this data, but its value will be available to further callbacks. For example, it can be used to store some instance-specific state. Because the type is Variant, it is possible to store a wide variety of data, including simple types, Arrays and object references. This data is not persisted inside the scene.

### C# Syntax

    // get accessor

    Object rtn = Context.UserData;

    // set accessor

    Context.UserData = Object;