---
title: "ContentSource"
description: "API documentation for ContentSource"
url: https://developer.disguise.one/python-api/docs/contentsource/
---

# ContentSource

See also: [Track & Sequencing Guide](/plugins/guides/track-and-sequencing)

Base class: _\_BlipValue_

## Properties

#### **arrow** : _int_

Arrow selection - index of the connected arrow

#### **isExplicitEffectMode** : _int_

When enabled, the background is used as the source texture.

_UserName: from background_

#### **texture** : _[DxTexture](/python-api/docs/dxtexture#dxtexture)_

Source selection - either Arrow source or a Texture. It is useful to select a PreCompTexture here.

_UserName: texture_

## Constructors

#### **\_\_init\_\_**(self)

#### **\_\_init\_\_**(self, arrow: _int_)

#### **\_\_init\_\_**(self, other: _[ContentSource](/python-api/docs/contentsource#contentsource)_)

Copy constructor for ContentSource

#### **\_\_init\_\_**(self, arrow: _int_, tex: _[DxTexture](/python-api/docs/dxtexture#dxtexture)_)

## Static Methods

#### **isArrowSource**(sequence: _[FieldSequence](/python-api/docs/fieldsequence#fieldsequence)_) -> _bool_

Checks if the given FieldSequence represents an arrow input source.

**Parameters**:

-   sequence The FieldSequence object to verify.

**Returns** True if the FieldSequence is a float sequence and its name complies with the arrow naming convention.

#### **isContentSource**(sequence: _[FieldSequence](/python-api/docs/fieldsequence#fieldsequence)_) -> _bool_

Checks if the given FieldSequence represents a ContentSource object.  
A ContentSource can be either an arrow input index or a selected texture.

**Parameters**:

-   sequence The FieldSequence object to verify.

**Returns** True if the sequence represents either an arrow or a texture source; false otherwise.

#### **isTextureSource**(sequence: _[FieldSequence](/python-api/docs/fieldsequence#fieldsequence)_) -> _bool_

Checks if the given FieldSequence represents a texture source.

**Parameters**:

-   sequence The FieldSequence object to verify.

**Returns** True if the FieldSequence is a resource sequence and its name complies with the texture naming convention.
