---
url: https://cri-middleware.github.io/SSPlayerForWeb/api/@spritestudio/ssplayer-pixi/classes/SSPlayer.md
---
# Class: SSPlayer

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:160](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L160)

## Extends

* [`Container`](https://pixijs.download/release/docs/index.html)

## Constructors

### Constructor

> **new SSPlayer**(): `SSPlayer`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:538](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L538)

#### Returns

`SSPlayer`

#### Overrides

`Container.constructor`

## Properties

### \_cx

> **\_cx**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:751

**`Internal`**

The X-coordinate value of the normalized local X axis,
the first column of the local transformation matrix without a scale.

#### Inherited from

`Container._cx`

***

### \_cy

> **\_cy**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:763

**`Internal`**

The X-coordinate value of the normalized local Y axis,
the second column of the local transformation matrix without a scale.

#### Inherited from

`Container._cy`

***

### \_pivot

> **\_pivot**: [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:734

**`Internal`**

The pivot point of the container that it rotates around.

#### Inherited from

`Container._pivot`

***

### \_position

> **\_position**: [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:724

**`Internal`**

The coordinate of the object relative to the local coordinates of the parent.

#### Inherited from

`Container._position`

***

### \_scale

> **\_scale**: [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:729

**`Internal`**

The scale factor of the object.

#### Inherited from

`Container._scale`

***

### \_skew

> **\_skew**: [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:745

**`Internal`**

The skew amount, on the x and y axis.

#### Inherited from

`Container._skew`

***

### \_sx

> **\_sx**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:757

**`Internal`**

The Y-coordinate value of the normalized local X axis,
the first column of the local transformation matrix without a scale.

#### Inherited from

`Container._sx`

***

### \_sy

> **\_sy**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:769

**`Internal`**

The Y-coordinate value of the normalized local Y axis,
the second column of the local transformation matrix without a scale.

#### Inherited from

`Container._sy`

***

### \_zIndex

> **\_zIndex**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/sortMixin.d.ts:60

**`Internal`**

#### Inherited from

`Container._zIndex`

***

### accessible?

> `optional` **accessible?**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/accessibility/accessibilityTarget.d.ts:31

Flag for if the object is accessible. If true AccessibilityManager will overlay a
shadow div with attributes set

#### Default

```ts
false
```

#### Example

```js
const container = new Container();
container.accessible = true;
```

#### Inherited from

`Container.accessible`

***

### accessibleChildren?

> `optional` **accessibleChildren?**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/accessibility/accessibilityTarget.d.ts:126

Setting to false will prevent any children inside this container to
be accessible. Defaults to true.

#### Default

```ts
true
```

#### Example

```js
const container = new Container();
container.accessible = true;
container.accessibleChildren = false; // This will prevent any children from being accessible

const sprite = new Sprite(texture);
sprite.accessible = true; // This will not work since accessibleChildren is false
```

#### Inherited from

`Container.accessibleChildren`

***

### accessibleHint?

> `optional` **accessibleHint?**: `string` | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/accessibility/accessibilityTarget.d.ts:56

Sets the aria-label attribute of the shadow div

#### Default

```ts
null
```

#### Advanced

#### Example

```js
const container = new Container();
container.accessible = true;
container.accessibleHint = 'This is a container';
```

#### Inherited from

`Container.accessibleHint`

***

### accessiblePointerEvents?

> `optional` **accessiblePointerEvents?**: [`PointerEvents`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/accessibility/accessibilityTarget.d.ts:100

Specify the pointer-events the accessible div will use
Defaults to auto.

#### Default

```ts
'auto'
```

#### Advanced

#### Example

```js
const container = new Container();
container.accessible = true;
container.accessiblePointerEvents = 'none'; // or 'auto', 'visiblePainted', etc.
```

#### Inherited from

`Container.accessiblePointerEvents`

***

### accessibleText?

> `optional` **accessibleText?**: `string` | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/accessibility/accessibilityTarget.d.ts:111

Sets the text content of the shadow div

#### Default

```ts
null
```

#### Example

```js
const container = new Container();
container.accessible = true;
container.accessibleText = 'This is a container';
```

#### Inherited from

`Container.accessibleText`

***

### accessibleTitle?

> `optional` **accessibleTitle?**: `string` | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/accessibility/accessibilityTarget.d.ts:44

Sets the title attribute of the shadow div
If accessibleTitle AND accessibleHint has not been this will default to 'container \[tabIndex]'

#### Default

```ts
null
```

#### Example

```js
const container = new Container();
container.accessible = true;
container.accessibleTitle = 'My Container';
```

#### Inherited from

`Container.accessibleTitle`

***

### accessibleType?

> `optional` **accessibleType?**: keyof HTMLElementTagNameMap

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/accessibility/accessibilityTarget.d.ts:86

Specify the type of div the accessible layer is. Screen readers treat the element differently
depending on this type. Defaults to button.

#### Default

```ts
'button'
```

#### Advanced

#### Example

```js
const container = new Container();
container.accessible = true;
container.accessibleType = 'button'; // or 'link', 'checkbox', etc.
```

#### Inherited from

`Container.accessibleType`

***

### allowChildren

> **allowChildren**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:10

**`Internal`**

#### Inherited from

`Container.allowChildren`

***

### boundsArea

> **boundsArea**: [`Rectangle`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:815

An optional bounds area for this container. Setting this rectangle will stop the renderer
from recursively measuring the bounds of each children and instead use this single boundArea.

> \[!IMPORTANT] This is great for optimisation! If for example you have a
> 1000 spinning particles and you know they all sit within a specific bounds,
> then setting it will mean the renderer will not need to measure the
> 1000 children to find the bounds. Instead it will just use the bounds you set.

#### Example

```ts
const container = new Container();
container.boundsArea = new Rectangle(0, 0, 500, 500);
```

#### Inherited from

`Container.boundsArea`

***

### ~~cacheAsBitmap~~

> **cacheAsBitmap**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/cacheAsTextureMixin.d.ts:61

Legacy property for backwards compatibility with PixiJS v7 and below.
Use `cacheAsTexture` instead.

#### Deprecated

since 8.0.0

#### Inherited from

`Container.cacheAsBitmap`

***

### cacheAsTexture

> **cacheAsTexture**: (`val`) => `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/cacheAsTextureMixin.d.ts:45

Caches this container as a texture. This allows the container to be rendered as a single texture,
which can improve performance for complex static containers.

#### Parameters

##### val

`boolean` | [`CacheAsTextureOptions`](https://pixijs.download/release/docs/index.html)

If true, enables caching with default options.
If false, disables caching.
Can also pass options object to configure caching behavior.

#### Returns

`void`

#### Example

```ts
// Basic caching
container.cacheAsTexture(true);

// With custom options
container.cacheAsTexture({
    resolution: 2,
    antialias: true,
});

// Disable caching
container.cacheAsTexture(false);

// Cache a complex UI
const ui = new Container();
// Add multiple children...
ui.cacheAsTexture(true);
ui.updateCacheTexture(); // Update if contents change
```

#### See

* [Container#updateCacheTexture](#updatecachetexture) For updating cached content
* [Container#isCachedAsTexture](#iscachedastexture) For checking cache state

#### Inherited from

`Container.cacheAsTexture`

***

### children

> `readonly` **children**: [`ContainerChild`](https://pixijs.download/release/docs/index.html)\[]

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:639

The array of children of this container. Each child must be a Container or extend from it.

The array is read-only, but its contents can be modified using Container methods.

#### Example

```ts
// Access children
const firstChild = container.children[0];
const lastChild = container.children[container.children.length - 1];
```

#### See

* [Container#addChild](#addchild) For adding children
* [Container#removeChild](#removechild) For removing children

#### Inherited from

`Container.children`

***

### cullable?

> `optional` **cullable?**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/culling/cullingMixin.d.ts:69

Controls whether this object should be culled when out of view.
When true, the object will not be rendered if its bounds are outside the visible area.

#### Example

```ts
const sprite = new Sprite(texture);

// Enable culling
sprite.cullable = true;

// Force object to always render
sprite.cullable = false;
```

#### Remarks

* Does not affect transform updates
* Applies to this object only
* Children follow their own cullable setting

#### Default

```ts
false
```

#### Inherited from

`Container.cullable`

***

### cullableChildren?

> `optional` **cullableChildren?**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/culling/cullingMixin.d.ts:92

Controls whether children of this container can be culled.
When false, skips recursive culling checks for better performance.

#### Example

```ts
const container = new Container();

// Enable container culling
container.cullable = true;

// Disable child culling for performance
container.cullableChildren = false;

// Children will always render if container is visible
container.addChild(sprite1, sprite2, sprite3);
```

#### Remarks

* Improves performance for static scenes
* Useful when children are always within container bounds
* Parent culling still applies

#### Default

```ts
true
```

#### Inherited from

`Container.cullableChildren`

***

### cullArea?

> `optional` **cullArea?**: [`Rectangle`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/culling/cullingMixin.d.ts:49

Custom shape used for culling calculations instead of object bounds.
Defined in local space coordinates relative to the object.

> \[!NOTE]
> Setting this to a custom Rectangle allows you to define a specific area for culling,
> which can improve performance by avoiding expensive bounds calculations.

#### Example

```ts
const container = new Container();

// Define custom culling boundary
container.cullArea = new Rectangle(0, 0, 800, 600);

// Reset to use object bounds
container.cullArea = null;
```

#### Remarks

* Improves performance by avoiding bounds calculations
* Useful for containers with many children
* Set to null to use object bounds

#### Default

```ts
null
```

#### Inherited from

`Container.cullArea`

***

### cursor?

> `optional` **cursor?**: [`Cursor`](https://pixijs.download/release/docs/index.html) | `string` & `object`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:187

The cursor style to display when the mouse pointer is hovering over the object.
Accepts any valid CSS cursor value or custom cursor URL.

#### Example

```ts
// Common cursor types
sprite.cursor = 'pointer';     // Hand cursor for clickable elements
sprite.cursor = 'grab';        // Grab cursor for draggable elements
sprite.cursor = 'crosshair';   // Precise cursor for selection
sprite.cursor = 'not-allowed'; // Indicate disabled state

// Direction cursors
sprite.cursor = 'n-resize';    // North resize
sprite.cursor = 'ew-resize';   // East-west resize
sprite.cursor = 'nesw-resize'; // Northeast-southwest resize

// Custom cursor with fallback
sprite.cursor = 'url("custom.png"), auto';
sprite.cursor = 'url("cursor.cur") 2 2, pointer'; // With hotspot offset
```

#### Default

```ts
undefined
```

#### See

* EventSystem.cursorStyles For setting global cursor styles
* <https://developer.mozilla.org/en-US/docs/Web/CSS/cursor> MDN Cursor Documentation

#### Inherited from

`Container.cursor`

***

### depthOfChildModified

> **depthOfChildModified**: () => `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/sortMixin.d.ts:74

**`Internal`**

#### Returns

`void`

#### Inherited from

`Container.depthOfChildModified`

***

### destroyed

> **destroyed**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:719

Whether this object has been destroyed. If true, the object should no longer be used.
After an object is destroyed, all of its functionality is disabled and references are removed.

#### Example

```ts
// Cleanup with destroy
sprite.destroy();
console.log(sprite.destroyed); // true
```

#### Default

```ts
false
```

#### See

[Container#destroy](https://pixijs.download/release/docs/index.html) For destroying objects

#### Inherited from

`Container.destroyed`

***

### effects?

> `optional` **effects?**: [`Effect`](https://pixijs.download/release/docs/index.html)\[]

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/effectsMixin.d.ts:183

todo Needs docs

#### Advanced

#### Inherited from

`Container.effects`

***

### eventMode?

> `optional` **eventMode?**: [`EventMode`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:225

Enable interaction events for the Container. Touch, pointer and mouse events are supported.

#### Example

```ts
const sprite = new Sprite(texture);

// Enable standard interaction (like buttons)
sprite.eventMode = 'static';
sprite.on('pointerdown', () => console.log('clicked!'));

// Enable for moving objects
sprite.eventMode = 'dynamic';
sprite.on('pointermove', () => updatePosition());

// Disable all interaction
sprite.eventMode = 'none';

// Only allow child interactions
sprite.eventMode = 'passive';
```

Available modes:

* `'none'`: Ignores all interaction events, even on its children. Best for pure visuals.
* `'passive'`: **(default)** Does not emit events and ignores hit testing on itself and non-interactive
  children. Interactive children will still emit events.
* `'auto'`: Does not emit events but is hit tested if parent is interactive. Same as `interactive = false` in v7.
* `'static'`: Emit events and is hit tested. Same as `interactive = true` in v7. Best for buttons/UI.
* `'dynamic'`: Like static but also receives synthetic events when pointer is idle. Best for moving objects.

Performance tips:

* Use `'none'` for pure visual elements
* Use `'passive'` for containers with some interactive children
* Use `'static'` for standard UI elements
* Use `'dynamic'` only when needed for moving/animated elements

#### Since

7.2.0

#### Inherited from

`Container.eventMode`

***

### filterArea?

> `optional` **filterArea?**: [`Rectangle`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/effectsMixin.d.ts:178

The area the filter is applied to. This is used as an optimization to define a specific region
for filter effects instead of calculating the display object bounds each frame.

> \[!NOTE]
> Setting this to a custom Rectangle allows you to define a specific area for filter effects,
> which can improve performance by avoiding expensive bounds calculations.

#### Example

```ts
// Set specific filter area
container.filterArea = new Rectangle(0, 0, 100, 100);

// Optimize filter region
const screen = app.screen;
container.filterArea = new Rectangle(
    screen.x,
    screen.y,
    screen.width,
    screen.height
);
```

#### See

* [Container#filters](#filters) For applying filters
* [Rectangle](https://pixijs.download/release/docs/index.html) For area definition

#### Inherited from

`Container.filterArea`

***

### globalDisplayStatus

> **globalDisplayStatus**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:798

**`Internal`**

#### Inherited from

`Container.globalDisplayStatus`

***

### groupAlpha

> **groupAlpha**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:780

**`Internal`**

#### Inherited from

`Container.groupAlpha`

***

### groupBlendMode

> **groupBlendMode**: [`BLEND_MODES`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:788

**`Internal`**

#### Inherited from

`Container.groupBlendMode`

***

### groupColor

> **groupColor**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:782

**`Internal`**

#### Inherited from

`Container.groupColor`

***

### groupColorAlpha

> **groupColorAlpha**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:784

**`Internal`**

#### Inherited from

`Container.groupColorAlpha`

***

### groupTransform

> `readonly` **groupTransform**: [`Matrix`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:705

The group transform is a transform relative to the render group it belongs too.
If this container is render group then this will be an identity matrix. other wise it
will be the same as the relativeGroupTransform.
Use this value when actually rendering things to the screen

#### Advanced

#### Inherited from

`Container.groupTransform`

***

### hitArea?

> `optional` **hitArea?**: [`IHitArea`](https://pixijs.download/release/docs/index.html) | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:297

Defines a custom hit area for pointer interaction testing. When set, this shape will be used
for hit testing instead of the container's standard bounds.

#### Example

```ts
import { Rectangle, Circle, Sprite } from 'pixi.js';

// Rectangular hit area
const button = new Sprite(texture);
button.eventMode = 'static';
button.hitArea = new Rectangle(0, 0, 100, 50);

// Circular hit area
const icon = new Sprite(texture);
icon.eventMode = 'static';
icon.hitArea = new Circle(32, 32, 32);

// Custom hit area with polygon
const custom = new Sprite(texture);
custom.eventMode = 'static';
custom.hitArea = new Polygon([0,0, 100,0, 100,100, 0,100]);

// Custom hit testing logic
sprite.hitArea = {
    contains(x: number, y: number) {
        // Custom collision detection
        return x >= 0 && x <= width && y >= 0 && y <= height;
    }
};
```

#### Remarks

* Takes precedence over the container's bounds for hit testing
* Can improve performance by simplifying collision checks
* Useful for irregular shapes or precise click areas

#### Inherited from

`Container.hitArea`

***

### interactive?

> `optional` **interactive?**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:238

Whether this object should fire UI events. This is an alias for `eventMode` set to `'static'` or `'passive'`.
Setting this to true will enable interaction events like `pointerdown`, `click`, etc.
Setting it to false will disable all interaction events on this object.

#### See

[Container.eventMode](#eventmode)

#### Example

```ts
// Enable interaction events
sprite.interactive = true;  // Sets eventMode = 'static'
sprite.interactive = false; // Sets eventMode = 'passive'
```

#### Inherited from

`Container.interactive`

***

### interactiveChildren?

> `optional` **interactiveChildren?**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:261

Controls whether children of this container can receive pointer events.

Setting this to false allows PixiJS to skip hit testing on all children,
improving performance for containers with many non-interactive children.

#### Default

```ts
true
```

#### Example

```ts
// Container with many visual-only children
const container = new Container();
container.interactiveChildren = false; // Skip hit testing children

// Menu with interactive buttons
const menu = new Container();
menu.interactiveChildren = true; // Test all children
menu.addChild(button1, button2, button3);

// Performance optimization
background.interactiveChildren = false;
foreground.interactiveChildren = true;
```

#### Inherited from

`Container.interactiveChildren`

***

### internalPlayer

> `readonly` **internalPlayer**: [`DirectInternalPlayer`](DirectInternalPlayer.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:165](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L165)

***

### isCachedAsTexture

> `readonly` **isCachedAsTexture**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/cacheAsTextureMixin.d.ts:75

Whether this container is currently cached as a texture.

#### Example

```ts
// Check cache state
if (container.isCachedAsTexture) {
    console.log('Container is cached');
}
```

#### See

* [Container#cacheAsTexture](#cacheastexture) For enabling caching
* [Container#updateCacheTexture](#updatecachetexture) For updating cache

#### Inherited from

`Container.isCachedAsTexture`

***

### isInteractive

> **isInteractive**: () => `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:1062

Determines if the container is interactive or not

#### Returns

`boolean`

Whether the container is interactive or not

#### Since

7.2.0

#### Example

```ts
import { Sprite } from 'pixi.js';

const sprite = new Sprite(texture);
sprite.eventMode = 'static';
sprite.isInteractive(); // true

sprite.eventMode = 'dynamic';
sprite.isInteractive(); // true

sprite.eventMode = 'none';
sprite.isInteractive(); // false

sprite.eventMode = 'passive';
sprite.isInteractive(); // false

sprite.eventMode = 'auto';
sprite.isInteractive(); // false
```

#### Inherited from

`Container.isInteractive`

***

### label

> **label**: `string`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/findMixin.d.ts:8

The instance label of the object.

#### Default

```ts
null
```

#### Inherited from

`Container.label`

***

### layerParentId

> **layerParentId**: `string`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:829

**`Internal`**

#### Inherited from

`Container.layerParentId`

***

### localAlpha

> **localAlpha**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:778

**`Internal`**

#### Inherited from

`Container.localAlpha`

***

### localBlendMode

> **localBlendMode**: [`BLEND_MODES`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:786

**`Internal`**

#### Inherited from

`Container.localBlendMode`

***

### localColor

> **localColor**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:776

**`Internal`**

#### Inherited from

`Container.localColor`

***

### localDisplayStatus

> **localDisplayStatus**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:796

**`Internal`**

This property holds three bits: culled, visible, renderable
the third bit represents culling (0 = culled, 1 = not culled) 0b100
the second bit represents visibility (0 = not visible, 1 = visible) 0b010
the first bit represents renderable (0 = not renderable, 1 = renderable) 0b001

#### Inherited from

`Container.localDisplayStatus`

***

### localTransform

> `readonly` **localTransform**: [`Matrix`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:688

Current transform of the object based on local factors: position, scale, other stuff.
This matrix represents the local transformation without any parent influence.

#### Example

```ts
// Basic transform access
const localMatrix = sprite.localTransform;
console.log(localMatrix.toString());
```

#### See

* [Container#worldTransform](#worldtransform) For global transform
* [Container#groupTransform](#grouptransform) For render group transform

#### Inherited from

`Container.localTransform`

***

### mask

> **mask**: [`Mask`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/effectsMixin.d.ts:254

Sets a mask for the displayObject. A mask is an object that limits the visibility of an
object to the shape of the mask applied to it.

> \[!IMPORTANT] In PixiJS a regular mask must be a Graphics or a Sprite object.
> This allows for much faster masking in canvas as it uses shape clipping.
> A mask of an object must be in the subtree of its parent.
> Otherwise, `getLocalBounds` may calculate incorrect bounds, which makes the container's width and height wrong.

Sprite masks read the red channel by default. Use [Container#setMask](#setmask) with `channel: 'alpha'`
to read the alpha channel instead. See [MaskOptions#channel](https://pixijs.download/release/docs/index.html) for details.

#### Example

```ts
// Apply mask to sprite
const sprite = new Sprite(texture);
sprite.mask = graphics;

// Remove mask
sprite.mask = null;
```

#### See

* Graphics For creating mask shapes
* Sprite For texture-based masks
* [Container#setMask](#setmask) For advanced mask options including channel selection

#### Inherited from

`Container.mask`

***

### maskEnabled

> **maskEnabled**: `boolean` = `true`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:328](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L328)

Enables SpriteStudio mask / clipping rendering (the coverage pre-pass and
per-part clipping). On by default; set false to draw every part unclipped
(mask parts themselves stay hidden, as they carry no colour).

***

### ~~name~~

> **name**: `string`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/findMixin.d.ts:24

The instance name of the object.

#### Deprecated

since 8.0.0

#### See

Container#label

#### Default

```ts
null
```

#### Inherited from

`Container.name`

***

### onclick?

> `optional` **onclick?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:317

Property-based event handler for the `click` event.
Fired when a pointer device (mouse, touch, etc.) completes a click action.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('click', (event) => {
   console.log('Sprite clicked at:', event.global.x, event.global.y);
});
// Using property-based handler
sprite.onclick = (event) => {
    console.log('Clicked at:', event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onclick`

***

### oncontextmenu?

> `optional` **oncontextmenu?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:338

Property-based event handler for the `contextmenu` event.
Fired when the browser is about to open its context menu over the object, such as on a right click.
Call `event.preventDefault()` to keep the browser menu closed.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('contextmenu', (event) => {
    event.preventDefault();
});
// Using property-based handler
sprite.oncontextmenu = (event) => {
    event.preventDefault();
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.oncontextmenu`

***

### onglobalmousemove?

> `optional` **onglobalmousemove?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:451

Property-based event handler for the `globalmousemove` event.

Fired when the mouse moves anywhere, regardless of whether the pointer is over this object.
The object must have `eventMode` set to 'static' or 'dynamic' to receive this event.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('globalmousemove', (event) => {
    // Move sprite to mouse position
    sprite.position.copyFrom(event.global);
});
// Using property-based handler
sprite.onglobalmousemove = (event) => {
    // Move sprite to mouse position
    sprite.position.copyFrom(event.global);
};
```

#### Default

```ts
null
```

#### Remarks

* Fires even when the mouse is outside the object's bounds
* Useful for drag operations or global mouse tracking
* Must have `eventMode` set appropriately to receive events
* Part of the global move events family along with `globalpointermove` and `globaltouchmove`

#### Inherited from

`Container.onglobalmousemove`

***

### onglobalpointermove?

> `optional` **onglobalpointermove?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:658

Property-based event handler for the `globalpointermove` event.

Fired when the pointer moves anywhere, regardless of whether the pointer is over this object.
The object must have `eventMode` set to 'static' or 'dynamic' to receive this event.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('globalpointermove', (event) => {
    sprite.position.set(event.global.x, event.global.y);
});
// Using property-based handler
sprite.onglobalpointermove = (event) => {
    sprite.position.set(event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Remarks

* Fires even when the mouse is outside the object's bounds
* Useful for drag operations or global mouse tracking
* Must have `eventMode` set appropriately to receive events
* Part of the global move events family along with `globalpointermove` and `globaltouchmove`

#### Inherited from

`Container.onglobalpointermove`

***

### onglobaltouchmove?

> `optional` **onglobaltouchmove?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:969

Property-based event handler for the `globaltouchmove` event.

Fired when a touch interaction moves anywhere, regardless of whether the pointer is over this object.
The object must have `eventMode` set to 'static' or 'dynamic' to receive this event.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('globaltouchmove', (event) => {
    sprite.position.set(event.global.x, event.global.y);
});
// Using property-based handler
sprite.onglobaltouchmove = (event) => {
    sprite.position.set(event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Remarks

* Fires even when the touch is outside the object's bounds
* Useful for drag operations or global touch tracking
* Must have `eventMode` set appropriately to receive events
* Part of the global move events family along with `globalpointermove` and `globalmousemove`

#### Inherited from

`Container.onglobaltouchmove`

***

### onmousedown?

> `optional` **onmousedown?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:360

Property-based event handler for the `mousedown` event.
Fired when a mouse button is pressed while the pointer is over the object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('mousedown', (event) => {
   sprite.alpha = 0.5; // Visual feedback
   console.log('Mouse button:', event.button);
});
// Using property-based handler
sprite.onmousedown = (event) => {
    sprite.alpha = 0.5; // Visual feedback
    console.log('Mouse button:', event.button);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onmousedown`

***

### onmouseenter?

> `optional` **onmouseenter?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:380

Property-based event handler for the `mouseenter` event.
Fired when the mouse pointer enters the bounds of the object. Does not bubble.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('mouseenter', (event) => {
    sprite.scale.set(1.1);
});
// Using property-based handler
sprite.onmouseenter = (event) => {
    sprite.scale.set(1.1);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onmouseenter`

***

### onmouseleave?

> `optional` **onmouseleave?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:400

Property-based event handler for the `mouseleave` event.
Fired when the pointer leaves the bounds of the display object. Does not bubble.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('mouseleave', (event) => {
   sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onmouseleave = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onmouseleave`

***

### onmousemove?

> `optional` **onmousemove?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:422

Property-based event handler for the `mousemove` event.
Fired when the pointer moves while over the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('mousemove', (event) => {
   // Get coordinates relative to the sprite
  console.log('Local:', event.getLocalPosition(sprite));
});
// Using property-based handler
sprite.onmousemove = (event) => {
    // Get coordinates relative to the sprite
    console.log('Local:', event.getLocalPosition(sprite));
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onmousemove`

***

### onmouseout?

> `optional` **onmouseout?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:471

Property-based event handler for the `mouseout` event.
Fired when the pointer moves out of the bounds of the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('mouseout', (event) => {
   sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onmouseout = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onmouseout`

***

### onmouseover?

> `optional` **onmouseover?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:491

Property-based event handler for the `mouseover` event.
Fired when the pointer moves onto the bounds of the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('mouseover', (event) => {
     sprite.scale.set(1.1);
});
// Using property-based handler
sprite.onmouseover = (event) => {
    sprite.scale.set(1.1);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onmouseover`

***

### onmouseup?

> `optional` **onmouseup?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:511

Property-based event handler for the `mouseup` event.
Fired when a mouse button is released over the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('mouseup', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onmouseup = (event) => {
     sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onmouseup`

***

### onmouseupoutside?

> `optional` **onmouseupoutside?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:532

Property-based event handler for the `mouseupoutside` event.
Fired when a mouse button is released outside the display object that initially
registered a mousedown.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('mouseupoutside', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onmouseupoutside = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onmouseupoutside`

***

### onpointercancel?

> `optional` **onpointercancel?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:552

Property-based event handler for the `pointercancel` event.
Fired when a pointer device interaction is canceled or lost.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointercancel', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onpointercancel = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointercancel`

***

### onpointerdown?

> `optional` **onpointerdown?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:572

Property-based event handler for the `pointerdown` event.
Fired when a pointer device button (mouse, touch, pen, etc.) is pressed.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointerdown', (event) => {
    sprite.position.set(event.global.x, event.global.y);
});
// Using property-based handler
sprite.onpointerdown = (event) => {
    sprite.position.set(event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointerdown`

***

### onpointerenter?

> `optional` **onpointerenter?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:592

Property-based event handler for the `pointerenter` event.
Fired when a pointer device enters the bounds of the display object. Does not bubble.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointerenter', (event) => {
    sprite.scale.set(1.2);
});
// Using property-based handler
sprite.onpointerenter = (event) => {
    sprite.scale.set(1.2);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointerenter`

***

### onpointerleave?

> `optional` **onpointerleave?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:611

Property-based event handler for the `pointerleave` event.
Fired when a pointer device leaves the bounds of the display object. Does not bubble.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';
// Using emitter handler
sprite.on('pointerleave', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onpointerleave = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointerleave`

***

### onpointermove?

> `optional` **onpointermove?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:631

Property-based event handler for the `pointermove` event.
Fired when a pointer device moves while over the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointermove', (event) => {
    sprite.position.set(event.global.x, event.global.y);
});
// Using property-based handler
sprite.onpointermove = (event) => {
    sprite.position.set(event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointermove`

***

### onpointerout?

> `optional` **onpointerout?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:678

Property-based event handler for the `pointerout` event.
Fired when the pointer moves out of the bounds of the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointerout', (event) => {
   sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onpointerout = (event) => {
   sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointerout`

***

### onpointerover?

> `optional` **onpointerover?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:698

Property-based event handler for the `pointerover` event.
Fired when the pointer moves over the bounds of the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointerover', (event) => {
    sprite.scale.set(1.2);
});
// Using property-based handler
sprite.onpointerover = (event) => {
    sprite.scale.set(1.2);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointerover`

***

### onpointertap?

> `optional` **onpointertap?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:718

Property-based event handler for the `pointertap` event.
Fired when a pointer device completes a tap action (e.g., touch or mouse click).

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointertap', (event) => {
    console.log('Sprite tapped at:', event.global.x, event.global.y);
});
// Using property-based handler
sprite.onpointertap = (event) => {
    console.log('Sprite tapped at:', event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointertap`

***

### onpointerup?

> `optional` **onpointerup?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:738

Property-based event handler for the `pointerup` event.
Fired when a pointer device button (mouse, touch, pen, etc.) is released.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointerup', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onpointerup = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointerup`

***

### onpointerupoutside?

> `optional` **onpointerupoutside?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:759

Property-based event handler for the `pointerupoutside` event.
Fired when a pointer device button is released outside the bounds of the display object
that initially registered a pointerdown.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('pointerupoutside', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onpointerupoutside = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onpointerupoutside`

***

### onRender

> **onRender**: ((`renderer`) => `void`) | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/onRenderMixin.d.ts:25

This callback is used when the container is rendered. It runs every frame during the render process,
making it ideal for per-frame updates and animations.

> \[!NOTE] In v7 many users used `updateTransform` for this, however the way v8 renders objects is different
> and "updateTransform" is no longer called every frame

#### Example

```ts
// Basic rotation animation
const container = new Container();
container.onRender = () => {
    container.rotation += 0.01;
};

// Cleanup when done
container.onRender = null; // Removes callback
```

#### Param

**renderer**

The renderer instance

#### See

[Renderer](https://pixijs.download/release/docs/index.html) For renderer capabilities

#### Inherited from

`Container.onRender`

***

### onrightclick?

> `optional` **onrightclick?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:780

Property-based event handler for the `rightclick` event.
Fired when the right mouse button is pressed and released on the object.
To keep the browser's context menu closed, listen for `contextmenu` instead.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('rightclick', (event) => {
    console.log('Right-clicked at:', event.global.x, event.global.y);
});
// Using property-based handler
sprite.onrightclick = (event) => {
    console.log('Right-clicked at:', event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onrightclick`

***

### onrightdown?

> `optional` **onrightdown?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:800

Property-based event handler for the `rightdown` event.
Fired when a right mouse button is pressed down over the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('rightdown', (event) => {
    sprite.scale.set(0.9);
});
// Using property-based handler
sprite.onrightdown = (event) => {
    sprite.scale.set(0.9);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onrightdown`

***

### onrightup?

> `optional` **onrightup?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:820

Property-based event handler for the `rightup` event.
Fired when a right mouse button is released over the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('rightup', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onrightup = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onrightup`

***

### onrightupoutside?

> `optional` **onrightupoutside?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:841

Property-based event handler for the `rightupoutside` event.
Fired when a right mouse button is released outside the bounds of the display object
that initially registered a rightdown.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('rightupoutside', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.onrightupoutside = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onrightupoutside`

***

### ontap?

> `optional` **ontap?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:861

Property-based event handler for the `tap` event.
Fired when a tap action (touch) is completed on the object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('tap', (event) => {
    console.log('Sprite tapped at:', event.global.x, event.global.y);
});
// Using property-based handler
sprite.ontap = (event) => {
    console.log('Sprite tapped at:', event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.ontap`

***

### ontouchcancel?

> `optional` **ontouchcancel?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:881

Property-based event handler for the `touchcancel` event.
Fired when a touch interaction is canceled, such as when the touch is interrupted.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('touchcancel', (event) => {
    console.log('Touch canceled at:', event.global.x, event.global.y);
});
// Using property-based handler
sprite.ontouchcancel = (event) => {
    console.log('Touch canceled at:', event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.ontouchcancel`

***

### ontouchend?

> `optional` **ontouchend?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:901

Property-based event handler for the `touchend` event.
Fired when a touch interaction ends, such as when the finger is lifted from the screen.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('touchend', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.ontouchend = (event) => {
   sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.ontouchend`

***

### ontouchendoutside?

> `optional` **ontouchendoutside?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:922

Property-based event handler for the `touchendoutside` event.
Fired when a touch interaction ends outside the bounds of the display object
that initially registered a touchstart.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('touchendoutside', (event) => {
    sprite.scale.set(1.0);
});
// Using property-based handler
sprite.ontouchendoutside = (event) => {
    sprite.scale.set(1.0);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.ontouchendoutside`

***

### ontouchmove?

> `optional` **ontouchmove?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:942

Property-based event handler for the `touchmove` event.
Fired when a touch interaction moves while over the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('touchmove', (event) => {
    sprite.position.set(event.global.x, event.global.y);
});
// Using property-based handler
sprite.ontouchmove = (event) => {
    sprite.position.set(event.global.x, event.global.y);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.ontouchmove`

***

### ontouchstart?

> `optional` **ontouchstart?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedPointerEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:989

Property-based event handler for the `touchstart` event.
Fired when a touch interaction starts, such as when a finger touches the screen.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('touchstart', (event) => {
    sprite.scale.set(0.9);
});
// Using property-based handler
sprite.ontouchstart = (event) => {
    sprite.scale.set(0.9);
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.ontouchstart`

***

### onwheel?

> `optional` **onwheel?**: [`FederatedEventHandler`](https://pixijs.download/release/docs/index.html)<[`FederatedWheelEvent`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:1011

Property-based event handler for the `wheel` event.
Fired when the mouse wheel is scrolled while over the display object.

#### Example

```ts
const sprite = new Sprite(texture);
sprite.eventMode = 'static';

// Using emitter handler
sprite.on('wheel', (event) => {
    sprite.scale.x += event.deltaY * 0.01; // Zoom in/out
    sprite.scale.y += event.deltaY * 0.01; // Zoom in/out
});
// Using property-based handler
sprite.onwheel = (event) => {
    sprite.scale.x += event.deltaY * 0.01; // Zoom in/out
    sprite.scale.y += event.deltaY * 0.01; // Zoom in/out
};
```

#### Default

```ts
null
```

#### Inherited from

`Container.onwheel`

***

### parent

> `readonly` **parent**: [`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:659

The display object container that contains this display object.
This represents the parent-child relationship in the display tree.

#### Example

```ts
// Basic parent access
const parent = sprite.parent;

// Walk up the tree
let current = sprite;
while (current.parent) {
    console.log('Level up:', current.parent.constructor.name);
    current = current.parent;
}
```

#### See

* [Container#addChild](#addchild) For adding to a parent
* [Container#removeChild](#removechild) For removing from parent

#### Inherited from

`Container.parent`

***

### parentRenderLayer

> `readonly` **parentRenderLayer**: [`RenderLayer`](https://pixijs.download/release/docs/index.html) | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:672

The RenderLayer this container belongs to, if any.
If it belongs to a RenderLayer, it will be rendered from the RenderLayer's position in the scene.

#### Advanced

#### Inherited from

`Container.parentRenderLayer`

***

### relativeGroupTransform

> `readonly` **relativeGroupTransform**: [`Matrix`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:696

The relative group transform is a transform relative to the render group it belongs too. It will include all parent
transforms and up to the render group (think of it as kind of like a stage - but the stage can be nested).
If this container is is self a render group matrix will be relative to its parent render group

#### Advanced

#### Inherited from

`Container.relativeGroupTransform`

***

### renderPipeId

> `readonly` **renderPipeId**: `string`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:800

**`Internal`**

#### Inherited from

`Container.renderPipeId`

***

### sortableChildren

> **sortableChildren**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/sortMixin.d.ts:48

If set to true, the container will sort its children by `zIndex` value
when the next render is called, or manually if `sortChildren()` is called.

This actually changes the order of elements in the array of children,
so it will affect the rendering order.

> \[!NOTE] Also be aware of that this may not work nicely with the `addChildAt()` function,
> as the `zIndex` sorting may cause the child to automatically sorted to another position.

#### Example

```ts
container.sortableChildren = true;
```

#### Default

```ts
false
```

#### Inherited from

`Container.sortableChildren`

***

### sortChildren

> **sortChildren**: () => `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/sortMixin.d.ts:72

Sorts children by zIndex value. Only sorts if container is marked as dirty.

#### Returns

`void`

#### Example

```ts
// Basic sorting
particles.zIndex = 2;     // Will mark as dirty
container.sortChildren();
```

#### See

* [Container#sortableChildren](#sortablechildren) For enabling automatic sorting
* [Container#zIndex](#zindex) For setting child order

#### Inherited from

`Container.sortChildren`

***

### sortDirty

> **sortDirty**: `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/sortMixin.d.ts:32

**`Internal`**

Should children be sorted by zIndex at the next render call.

Will get automatically set to true if a new child is added, or if a child's zIndex changes.

#### Default

```ts
false
@internal
```

#### Inherited from

`Container.sortDirty`

***

### tabIndex?

> `optional` **tabIndex?**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/accessibility/accessibilityTarget.d.ts:72

Sets the tabIndex of the shadow div. You can use this to set the order of the
elements when using the tab key to navigate.

#### Default

```ts
0
```

#### Example

```js
const container = new Container();
container.accessible = true;
container.tabIndex = 0;

const sprite = new Sprite(texture);
sprite.accessible = true;
sprite.tabIndex = 1;
```

#### Inherited from

`Container.tabIndex`

***

### uid

> `readonly` **uid**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:610

**`Internal`**

unique id for this container

#### Inherited from

`Container.uid`

***

### updateCacheTexture

> **updateCacheTexture**: () => `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/cacheAsTextureMixin.d.ts:55

Updates the cached texture of this container. This will flag the container's cached texture
to be redrawn on the next render.

#### Returns

`void`

#### Example

```ts
// Basic update after changes
container.updateCacheTexture();
```

#### Inherited from

`Container.updateCacheTexture`

***

### updateTick

> **updateTick**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:674

**`Internal`**

#### Inherited from

`Container.updateTick`

***

### zIndex

> **zIndex**: `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/sortMixin.d.ts:24

The zIndex of the container.

Controls the rendering order of children within their parent container.

A higher value will mean it will be moved towards the front of the rendering order.

#### Example

```ts
// Add in any order
container.addChild(character, background, foreground);

// Adjust rendering order
background.zIndex = 0;
character.zIndex = 1;
foreground.zIndex = 2;
```

#### See

* [Container#sortableChildren](#sortablechildren) For enabling sorting
* [Container#sortChildren](#sortchildren) For manual sorting

#### Default

```ts
0
```

#### Inherited from

`Container.zIndex`

***

### prefixed

> `static` **prefixed**: `string` | `boolean`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:9

#### Inherited from

`Container.prefixed`

## Accessors

### alpha

#### Get Signature

> **get** **alpha**(): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1246

The opacity of the object relative to its parent's opacity.
Value ranges from 0 (fully transparent) to 1 (fully opaque).

##### Example

```ts
// Basic transparency
sprite.alpha = 0.5; // 50% opacity

// Inherited opacity
container.alpha = 0.5;
const child = new Sprite(texture);
child.alpha = 0.5;
container.addChild(child);
// child's effective opacity is 0.25 (0.5 * 0.5)
```

##### Default

```ts
1
```

##### See

* [Container#visible](#visible) For toggling visibility
* [Container#renderable](#renderable) For render control

##### Returns

`number`

#### Set Signature

> **set** **alpha**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1226

##### Parameters

###### value

`number`

##### Returns

`void`

#### Inherited from

`Container.alpha`

***

### angle

#### Get Signature

> **get** **angle**(): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1008

The angle of the object in degrees.

> \[!NOTE] 'rotation' and 'angle' have the same effect on a display object;
> rotation is in radians, angle is in degrees.

##### Example

```ts
// Basic angle rotation
sprite.angle = 45; // 45 degrees

// Rotate around center
sprite.pivot.set(sprite.width / 2, sprite.height / 2);
sprite.angle = 180; // Half rotation

// Rotate around center with origin
sprite.origin.set(sprite.width / 2, sprite.height / 2);
sprite.angle = 180; // Half rotation

// Reset rotation
sprite.angle = 0;
```

##### Returns

`number`

#### Set Signature

> **set** **angle**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1009

##### Parameters

###### value

`number`

##### Returns

`void`

#### Inherited from

`Container.angle`

***

### audioManager

#### Get Signature

> **get** **audioManager**(): [`IAudioManager`](../interfaces/IAudioManager.md) | `null`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:349](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L349)

Optional AudioManager. If set, setAnimation will automatically preload sounds
required by the current animation.

##### Returns

[`IAudioManager`](../interfaces/IAudioManager.md) | `null`

#### Set Signature

> **set** **audioManager**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:352](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L352)

##### Parameters

###### value

[`IAudioManager`](../interfaces/IAudioManager.md) | `null`

##### Returns

`void`

***

### blendMode

#### Get Signature

> **get** **blendMode**(): [`BLEND_MODES`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1289

The blend mode to be applied to the sprite. Controls how pixels are blended when rendering.

Setting to 'normal' will reset to default blending.

> \[!NOTE] More blend modes are available after importing the `pixi.js/advanced-blend-modes` sub-export.

##### Example

```ts
// Basic blend modes
sprite.blendMode = 'add';        // Additive blending
sprite.blendMode = 'multiply';   // Multiply colors
sprite.blendMode = 'screen';     // Screen blend

// Reset blend mode
sprite.blendMode = 'normal';     // Normal blending
```

##### Default

```ts
'normal'
```

##### See

* [Container#alpha](#alpha) For transparency
* [Container#tint](#tint) For color adjustments

##### Returns

[`BLEND_MODES`](https://pixijs.download/release/docs/index.html)

#### Set Signature

> **set** **blendMode**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1269

##### Parameters

###### value

[`BLEND_MODES`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

#### Inherited from

`Container.blendMode`

***

### currentAnimation

#### Get Signature

> **get** **currentAnimation**(): `string`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:748](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L748)

##### Returns

`string`

***

### endFrame

#### Get Signature

> **get** **endFrame**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:792](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L792)

##### Returns

`number`

***

### filters

#### Get Signature

> **get** **filters**(): readonly [`Filter`](https://pixijs.download/release/docs/index.html)\[]

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/effectsMixin.d.ts:277

Sets the filters for the displayObject.
Filters are visual effects that can be applied to any display object and its children.

> \[!IMPORTANT] This is a WebGL/WebGPU only feature and will be ignored by the canvas renderer.

##### Example

```ts
new Container({
    filters: [new BlurFilter(2), new ColorMatrixFilter()],
});
```

##### See

[Filter](https://pixijs.download/release/docs/index.html) For filter base class

##### Returns

readonly [`Filter`](https://pixijs.download/release/docs/index.html)\[]

#### Set Signature

> **set** **filters**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/effectsMixin.d.ts:276

Sets the filters for the displayObject.
Filters are visual effects that can be applied to any display object and its children.

> \[!IMPORTANT] This is a WebGL/WebGPU only feature and will be ignored by the canvas renderer.

##### Example

```ts
// Add a single filter
sprite.filters = new BlurFilter(2);

// Apply multiple filters
container.filters = [
    new BlurFilter(2),
    new ColorMatrixFilter(),
];

// Remove filters
sprite.filters = null;
```

##### See

[Filter](https://pixijs.download/release/docs/index.html) For filter base class

##### Parameters

###### value

[`Filter`](https://pixijs.download/release/docs/index.html) | [`Filter`](https://pixijs.download/release/docs/index.html)\[] | `null` | `undefined`

##### Returns

`void`

#### Inherited from

`Container.filters`

***

### flipX

#### Get Signature

> **get** **flipX**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:388](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L388)

Mirror the drawn animation horizontally.

This is deliberately not the same as `player.scale.x = -1`. It mirrors what
this player draws and nothing else: our own Container transform is
untouched, so targets attached with [attachToPart](#attachtopart) — and any other
child a host has parented onto us — are not mirrored along with the
artwork. They still FOLLOW the mirrored pose, because
[getPartTransform](#getparttransform) reports it.

Reach for `scale.x` instead when you do want the whole subtree mirrored.

##### Returns

`boolean`

#### Set Signature

> **set** **flipX**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:391](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L391)

##### Parameters

###### value

`boolean`

##### Returns

`void`

***

### flipY

#### Get Signature

> **get** **flipY**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:396](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L396)

Mirror the drawn animation vertically. See [flipX](#flipx).

##### Returns

`boolean`

#### Set Signature

> **set** **flipY**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:399](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L399)

##### Parameters

###### value

`boolean`

##### Returns

`void`

***

### frameNo

#### Get Signature

> **get** **frameNo**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:774](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L774)

##### Returns

`number`

#### Set Signature

> **set** **frameNo**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:778](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L778)

##### Parameters

###### value

`number`

##### Returns

`void`

***

### frameRate

#### Get Signature

> **get** **frameRate**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:796](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L796)

##### Returns

`number`

#### Set Signature

> **set** **frameRate**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:800](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L800)

##### Parameters

###### value

`number`

##### Returns

`void`

***

### frameSkipEnabled

#### Get Signature

> **get** **frameSkipEnabled**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:898](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L898)

##### Returns

`boolean`

#### Set Signature

> **set** **frameSkipEnabled**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:902](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L902)

##### Parameters

###### value

`boolean`

##### Returns

`void`

***

### height

#### Get Signature

> **get** **height**(): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1117

The height of the Container,

> \[!NOTE] Changing the height will adjust the scale.y property of the container while maintaining its aspect ratio.
> \[!NOTE] If you want to set both width and height at the same time, use [Container#setSize](#setsize)
> as it is more optimized by not recalculating the local bounds twice.

##### Example

```ts
// Basic height setting
container.height = 200;
// Optimized height setting
container.setSize(100, 200);
```

##### Returns

`number`

#### Set Signature

> **set** **height**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1118

##### Parameters

###### value

`number`

##### Returns

`void`

#### Inherited from

`Container.height`

***

### isFinished

#### Get Signature

> **get** **isFinished**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:832](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L832)

Whether every configured loop has played.

A **state**, not a pulse: it latches on completion and stays true until
the next [play](#play) or switch of track 0's animation ([setAnimation](#setanimation),
or a [crossfade](#crossfade) on track 0). It is track 0's, so an overlay track
finishing does not raise it. Never true under an
infinite loop count, and **not raised by [stop](#stop)** — so unlike
`!isPlaying` it tells a run that ended on its own apart from one that was
stopped. Take [onAnimationFinished](#onanimationfinished) for the one-shot edge.

##### Returns

`boolean`

***

### isPausing

#### Get Signature

> **get** **isPausing**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:817](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L817)

##### Returns

`boolean`

***

### isPlaying

#### Get Signature

> **get** **isPlaying**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:804](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L804)

##### Returns

`boolean`

***

### isPlayingForward

#### Get Signature

> **get** **isPlayingForward**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:845](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L845)

Whether the playhead is walking forwards right now — the instantaneous
heading, so a ping-pong on its return leg reads false while
[getPlaybackDirection](#getplaybackdirection) still reads Forward.

Gate an audio backend on this: SpriteStudio has no reverse audio, so
[onAudio](#onaudio) still reports every key it crosses and it is the *playing*
that has to be suppressed.

##### Returns

`boolean`

***

### isRenderable

#### Get Signature

> **get** **isRenderable**(): `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1329

Whether or not the object should be rendered.

##### Advanced

##### Returns

`boolean`

#### Inherited from

`Container.isRenderable`

***

### isRenderGroup

#### Get Signature

> **get** **isRenderGroup**(): `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:894

Returns true if this container is a render group.
This means that it will be rendered as a separate pass, with its own set of instructions

##### Advanced

##### Returns

`boolean`

#### Set Signature

> **set** **isRenderGroup**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:888

##### Parameters

###### value

`boolean`

##### Returns

`void`

#### Inherited from

`Container.isRenderGroup`

***

### justLooped

#### Get Signature

> **get** **justLooped**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:813](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L813)

Whether the last update crossed a loop boundary. A **pulse**, true
only inside the tick that crossed — take [onAnimationLooped](#onanimationlooped) instead if
you would rather have it delivered than polled.

##### Returns

`boolean`

***

### loopCount

#### Get Signature

> **get** **loopCount**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:890](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L890)

##### Returns

`number`

#### Set Signature

> **set** **loopCount**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:894](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L894)

##### Parameters

###### value

`number`

##### Returns

`void`

***

### offsetX

#### Get Signature

> **get** **offsetX**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:409](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L409)

Shift the drawn animation horizontally, in animation-local pixels, without
moving this Container — so the artwork can sit off its authored origin
while our own position keeps marking the logical spot. Applied after
[flipX](#flipx), so flipping does not mirror the offset itself.

##### Returns

`number`

#### Set Signature

> **set** **offsetX**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:412](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L412)

##### Parameters

###### value

`number`

##### Returns

`void`

***

### offsetY

#### Get Signature

> **get** **offsetY**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:417](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L417)

Shift the drawn animation vertically (Y-down). See [offsetX](#offsetx).

##### Returns

`number`

#### Set Signature

> **set** **offsetY**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:420](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L420)

##### Parameters

###### value

`number`

##### Returns

`void`

***

### origin

#### Get Signature

> **get** **origin**(): [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1087

**`Experimental`**

The origin point around which the container rotates and scales without affecting its position.
Unlike pivot, changing the origin will not move the container's position.

##### Example

```ts
// Rotate around center point
container.origin.set(container.width / 2, container.height / 2);
container.rotation = Math.PI; // Rotates around center

// Reset origin
container.origin.set(0, 0);
```

##### Returns

[`ObservablePoint`](https://pixijs.download/release/docs/index.html)

#### Set Signature

> **set** **origin**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1088

##### Parameters

###### value

`number` | [`PointData`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

#### Inherited from

`Container.origin`

***

### pivot

#### Get Signature

> **get** **pivot**(): [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1023

The center of rotation, scaling, and skewing for this display object in its local space.
The `position` is the projection of `pivot` in the parent's local space.

By default, the pivot is the origin (0, 0).

##### Example

```ts
// Rotate around center
container.pivot.set(container.width / 2, container.height / 2);
container.rotation = Math.PI; // Rotates around center
```

##### Since

4.0.0

##### Returns

[`ObservablePoint`](https://pixijs.download/release/docs/index.html)

#### Set Signature

> **set** **pivot**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1024

##### Parameters

###### value

`number` | [`PointData`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

#### Inherited from

`Container.pivot`

***

### position

#### Get Signature

> **get** **position**(): [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:959

The coordinate of the object relative to the local coordinates of the parent.

##### Example

```ts
// Basic position setting
container.position.set(100, 200);
container.position.set(100); // Sets both x and y to 100
// Using point data
container.position = { x: 50, y: 75 };
```

##### Since

4.0.0

##### Returns

[`ObservablePoint`](https://pixijs.download/release/docs/index.html)

#### Set Signature

> **set** **position**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:960

##### Parameters

###### value

[`PointData`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

#### Inherited from

`Container.position`

***

### renderable

#### Get Signature

> **get** **renderable**(): `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1323

Controls whether this object can be rendered. If false the object will not be drawn,
but the transform will still be updated. This is different from visible, which skips
transform updates.

##### Example

```ts
// Basic render control
sprite.renderable = false; // Skip rendering
sprite.renderable = true;  // Enable rendering
```

##### Default

```ts
true
```

##### See

* [Container#visible](#visible) For skipping transform updates
* [Container#alpha](#alpha) For transparency

##### Returns

`boolean`

#### Set Signature

> **set** **renderable**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1324

##### Parameters

###### value

`boolean`

##### Returns

`void`

#### Inherited from

`Container.renderable`

***

### rotation

#### Get Signature

> **get** **rotation**(): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:984

The rotation of the object in radians.

> \[!NOTE] 'rotation' and 'angle' have the same effect on a display object;
> rotation is in radians, angle is in degrees.

##### Example

```ts
// Basic rotation
container.rotation = Math.PI / 4; // 45 degrees

// Convert from degrees
const degrees = 45;
container.rotation = degrees * Math.PI / 180;

// Rotate around center
container.pivot.set(container.width / 2, container.height / 2);
container.rotation = Math.PI; // 180 degrees

// Rotate around center with origin
container.origin.set(container.width / 2, container.height / 2);
container.rotation = Math.PI; // 180 degrees
```

##### Returns

`number`

#### Set Signature

> **set** **rotation**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:985

##### Parameters

###### value

`number`

##### Returns

`void`

#### Inherited from

`Container.rotation`

***

### scale

#### Get Signature

> **get** **scale**(): [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1071

The scale factors of this object along the local coordinate axes.

The default scale is (1, 1).

##### Example

```ts
// Basic scaling
container.scale.set(2, 2); // Scales to double size
container.scale.set(2); // Scales uniformly to double size
container.scale = 2; // Scales uniformly to double size
// Scale to a specific width and height
container.setSize(200, 100); // Sets width to 200 and height to 100
```

##### Since

4.0.0

##### Returns

[`ObservablePoint`](https://pixijs.download/release/docs/index.html)

#### Set Signature

> **set** **scale**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1072

##### Parameters

###### value

`string` | `number` | [`PointData`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

#### Inherited from

`Container.scale`

***

### skew

#### Get Signature

> **get** **skew**(): [`ObservablePoint`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1054

The skew factor for the object in radians. Skewing is a transformation that distorts
the object by rotating it differently at each point, creating a non-uniform shape.

##### Example

```ts
// Basic skewing
container.skew.set(0.5, 0); // Skew horizontally
container.skew.set(0, 0.5); // Skew vertically

// Skew with point data
container.skew = { x: 0.3, y: 0.3 }; // Diagonal skew

// Reset skew
container.skew.set(0, 0);

// Animate skew
app.ticker.add(() => {
    // Create wave effect
    container.skew.x = Math.sin(Date.now() / 1000) * 0.3;
});

// Combine with rotation
container.rotation = Math.PI / 4; // 45 degrees
container.skew.set(0.2, 0.2); // Skew the rotated object
```

##### Since

4.0.0

##### Default

```ts
{x: 0, y: 0}
```

##### Returns

[`ObservablePoint`](https://pixijs.download/release/docs/index.html)

#### Set Signature

> **set** **skew**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1055

##### Parameters

###### value

[`PointData`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

#### Inherited from

`Container.skew`

***

### speedScale

#### Get Signature

> **get** **speedScale**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:369](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L369)

##### Returns

`number`

#### Set Signature

> **set** **speedScale**(`speed`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:372](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L372)

##### Parameters

###### speed

`number`

##### Returns

`void`

***

### startFrame

#### Get Signature

> **get** **startFrame**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:788](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L788)

##### Returns

`number`

***

### subFrameEnabled

#### Get Signature

> **get** **subFrameEnabled**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:361](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L361)

Sub-frame interpolation: evaluate the timeline at fractional frames rather
than snapping to integers (on by default). Pairs with
[frameSkipEnabled](#frameskipenabled) — turning frame skipping off without turning this
off too leaves the playhead advancing fractionally, so the timing drifts.

##### Returns

`boolean`

#### Set Signature

> **set** **subFrameEnabled**(`value`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:365](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L365)

##### Parameters

###### value

`boolean`

##### Returns

`void`

***

### tint

#### Get Signature

> **get** **tint**(): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1268

The tint applied to the sprite.

This can be any valid [ColorSource](https://pixijs.download/release/docs/index.html).

##### Example

```ts
// Basic color tinting
container.tint = 0xff0000; // Red tint
container.tint = 'red';    // Same as above
container.tint = '#00ff00'; // Green
container.tint = 'rgb(0,0,255)'; // Blue

// Remove tint
container.tint = 0xffffff; // White = no tint
container.tint = null;     // Also removes tint
```

##### Default

```ts
0xFFFFFF
```

##### See

* [Container#alpha](#alpha) For transparency
* [Container#visible](#visible) For visibility control

##### Returns

`number`

#### Set Signature

> **set** **tint**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1247

##### Parameters

###### value

[`ColorSource`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

#### Inherited from

`Container.tint`

***

### totalFrames

#### Get Signature

> **get** **totalFrames**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:784](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L784)

##### Returns

`number`

***

### trackCount

#### Get Signature

> **get** **trackCount**(): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:920](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L920)

Number of tracks, empty ones included; always at least 1.

##### Returns

`number`

***

### visible

#### Get Signature

> **get** **visible**(): `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1303

The visibility of the object. If false the object will not be drawn,
and the transform will not be updated.

##### Example

```ts
// Basic visibility toggle
sprite.visible = false; // Hide sprite
sprite.visible = true;  // Show sprite
```

##### Default

```ts
true
```

##### See

* [Container#renderable](#renderable) For render-only control
* [Container#alpha](#alpha) For transparency

##### Returns

`boolean`

#### Set Signature

> **set** **visible**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1304

##### Parameters

###### value

`boolean`

##### Returns

`void`

#### Inherited from

`Container.visible`

***

### width

#### Get Signature

> **get** **width**(): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1102

The width of the Container, setting this will actually modify the scale to achieve the value set.

> \[!NOTE] Changing the width will adjust the scale.x property of the container while maintaining its aspect ratio.
> \[!NOTE] If you want to set both width and height at the same time, use [Container#setSize](#setsize)
> as it is more optimized by not recalculating the local bounds twice.

##### Example

```ts
// Basic width setting
container.width = 100;
// Optimized width setting
container.setSize(100, 100);
```

##### Returns

`number`

#### Set Signature

> **set** **width**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1103

##### Parameters

###### value

`number`

##### Returns

`void`

#### Inherited from

`Container.width`

***

### worldTransform

#### Get Signature

> **get** **worldTransform**(): [`Matrix`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:922

Current transform of the object based on world (parent) factors.

This matrix represents the absolute transformation in the scene graph.

##### Example

```ts
// Get world position
const worldPos = container.worldTransform;
console.log(`World position: (${worldPos.tx}, ${worldPos.ty})`);
```

##### See

[Container#localTransform](#localtransform) For local space transform

##### Returns

[`Matrix`](https://pixijs.download/release/docs/index.html)

#### Inherited from

`Container.worldTransform`

***

### x

#### Get Signature

> **get** **x**(): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:933

The position of the container on the x axis relative to the local coordinates of the parent.

An alias to position.x

##### Example

```ts
// Basic position
container.x = 100;
```

##### Returns

`number`

#### Set Signature

> **set** **x**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:934

##### Parameters

###### value

`number`

##### Returns

`void`

#### Inherited from

`Container.x`

***

### y

#### Get Signature

> **get** **y**(): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:945

The position of the container on the y axis relative to the local coordinates of the parent.

An alias to position.y

##### Example

```ts
// Basic position
container.y = 200;
```

##### Returns

`number`

#### Set Signature

> **set** **y**(`value`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:946

##### Parameters

###### value

`number`

##### Returns

`void`

#### Inherited from

`Container.y`

## Methods

### \_getGlobalBoundsRecursive()

> **\_getGlobalBoundsRecursive**(`factorRenderLayers`, `bounds`, `currentLayer`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/getFastGlobalBoundsMixin.d.ts:32

**`Internal`**

Recursively calculates the global bounds for the container and its children.
This method is used internally by getFastGlobalBounds to traverse the scene graph.

#### Parameters

##### factorRenderLayers

`boolean`

A flag indicating whether to consider render layers in the calculation.

##### bounds

[`Bounds`](https://pixijs.download/release/docs/index.html)

The bounds object to update with the calculated values.

##### currentLayer

[`RenderLayer`](https://pixijs.download/release/docs/index.html)

The current render layer being processed.

#### Returns

`void`

#### Inherited from

`Container._getGlobalBoundsRecursive`

***

### addChild()

> **addChild**<`U`>(...`children`): `U`\[`0`]

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:864

Adds one or more children to the container.
The children will be rendered as part of this container's display list.

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)\[]

#### Parameters

##### children

...`U`

The Container(s) to add to the container

#### Returns

`U`\[`0`]

The first child that was added

#### Example

```ts
// Add a single child
container.addChild(sprite);

// Add multiple children
container.addChild(background, player, foreground);

// Add with type checking
const sprite = container.addChild<Sprite>(new Sprite(texture));
sprite.tint = 'red';
```

#### See

* [Container#removeChild](#removechild) For removing children
* [Container#addChildAt](#addchildat) For adding at specific index

#### Inherited from

`Container.addChild`

***

### addChildAt()

> **addChildAt**<`U`>(`child`, `index`): `U`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:161

Adds a child to the container at a specified index. If the index is out of bounds an error will be thrown.
If the child is already in this container, it will be moved to the specified index.

When moving a child within the **same** container, `childAdded` and `added` events are
**not** emitted because the parent-child relationship hasn't changed. Events only fire when
a child is added from a different parent (or from no parent).

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)

#### Parameters

##### child

`U`

The child to add

##### index

`number`

The index where the child will be placed

#### Returns

`U`

The child that was added

#### Example

```ts
// Add at specific index
container.addChildAt(sprite, 0); // Add to front

// Move existing child (no events emitted)
const index = container.children.length - 1;
container.addChildAt(existingChild, index); // Move to back

// With error handling
try {
    container.addChildAt(sprite, 1000);
} catch (e) {
    console.warn('Index out of bounds');
}
```

#### Throws

If index is out of bounds

#### See

* Container#addChild For adding to the end
* Container#setChildIndex For moving existing children

#### Inherited from

`Container.addChildAt`

***

### addEventListener()

#### Call Signature

> **addEventListener**<`K`>(`type`, `listener`, `options?`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:1094

Unlike `on` or `addListener` which are methods from EventEmitter, `addEventListener`
seeks to be compatible with the DOM's `addEventListener` with support for options.

##### Type Parameters

###### K

`K` *extends* keyof FederatedEventMap | keyof GlobalFederatedEventMap

##### Parameters

###### type

`K`

The type of event to listen to.

###### listener

(`e`) => `any`

The listener callback or object.

###### options?

[`AddListenerOptions`](https://pixijs.download/release/docs/index.html)

Listener options, used for capture phase.

##### Returns

`void`

##### Example

```ts
// Tell the user whether they did a single, double, triple, or nth click.
button.addEventListener('click', {
    handleEvent(e): {
        let prefix;

        switch (e.detail) {
            case 1: prefix = 'single'; break;
            case 2: prefix = 'double'; break;
            case 3: prefix = 'triple'; break;
            default: prefix = e.detail + 'th'; break;
        }

        console.log('That was a ' + prefix + 'click');
    }
});

// But skip the first click!
button.parent.addEventListener('click', function blockClickOnce(e) {
    e.stopImmediatePropagation();
    button.parent.removeEventListener('click', blockClickOnce, true);
}, {
    capture: true,
});
```

##### Inherited from

`Container.addEventListener`

#### Call Signature

> **addEventListener**(`type`, `listener`, `options?`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:1095

##### Parameters

###### type

`string`

###### listener

`EventListenerOrEventListenerObject`

###### options?

[`AddListenerOptions`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

##### Inherited from

`Container.addEventListener`

***

### addListener()

> **addListener**<`T`>(`event`, `fn`, `context?`): `this`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:45

#### Type Parameters

##### T

`T` *extends* keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Parameters

##### event

`T`

##### fn

(...`args`) => `void`

##### context?

`any`

#### Returns

`this`

#### Inherited from

`Container.addListener`

***

### addTrackSource()

> **addTrackSource**(`track`, `animationName`, `weight`): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1084](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1084)

Lay another animation on `track` at `weight` and return its handle, valid until the source is released.

#### Parameters

##### track

`number`

##### animationName

`string`

##### weight

`number`

#### Returns

`number`

***

### attachRenderer()

> **attachRenderer**(`renderer`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:585](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L585)

Hand the player its renderer before it is first drawn.

The mask coverage pre-pass rasterises into offscreen textures, so it needs
a renderer; the player otherwise only learns of one when it is first drawn
(`onRender`), which is one frame too late for that frame's masks. A player
added to a stage and drawn straight away therefore holds its masked parts
back for exactly one frame. Pass the renderer here — right after
construction — and masking is correct from the first frame:

```ts
const player = new SSPlayer();
player.attachRenderer(app.renderer);
```

Idempotent, and harmless to call with a renderer the player is already
using. If the player is later drawn by a different renderer, `onRender`
replaces this one. Nothing else needs it: an animation without masks
renders identically either way.

#### Parameters

##### renderer

[`Renderer`](https://pixijs.download/release/docs/index.html)

#### Returns

`void`

***

### attachToPart()

> **attachToPart**(`part`, `target`, `options?`): [`SSPartAttachment`](../type-aliases/SSPartAttachment.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1372](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1372)

Make `target` follow `part` (a name or index) every frame — a weapon,
effect or hitbox tracking a null part. By default the target is parented
under the player (so it inherits the player's own transform and lands
exactly on the part) and its position and rotation are driven, its scale
only on request; see [SSPartFollowOptions](../interfaces/SSPartFollowOptions.md) to change any of that.
When all three axes are driven the full affine is applied, so a mirrored
part is reproduced exactly; otherwise only the enabled axes are written
and the target keeps its own value for the rest. A part's own skew is not
carried — the runtime keeps it out of the world matrix (matching
SpriteStudio). Attaching the same target twice replaces the earlier
attachment. Returns a handle whose `detach()` stops the following.

#### Parameters

##### part

`string` | `number`

##### target

[`Container`](https://pixijs.download/release/docs/index.html)

##### options?

[`SSPartFollowOptions`](../interfaces/SSPartFollowOptions.md) = `{}`

#### Returns

[`SSPartAttachment`](../type-aliases/SSPartAttachment.md)

***

### cancelTrackFade()

> **cancelTrackFade**(`track`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1074](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1074)

Stop the fade on `track`, leaving alpha and weights where they stand.

#### Parameters

##### track

`number`

#### Returns

`void`

***

### clearAllPartOverrides()

> **clearAllPartOverrides**(): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1250](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1250)

Clear every per-part override on this player.

#### Returns

`boolean`

***

### clearPartCellOverride()

> **clearPartCellOverride**(`part`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1245](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1245)

Clear a part's cell override (revert it to the animation).

#### Parameters

##### part

`string` | `number`

#### Returns

`boolean`

***

### clearPartColorOverride()

> **clearPartColorOverride**(`part`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1230](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1230)

Clear a part's colour override (revert it to the animation).

#### Parameters

##### part

`string` | `number`

#### Returns

`boolean`

***

### clearPartVisibilityOverride()

> **clearPartVisibilityOverride**(`part`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1205](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1205)

Clear a part's visibility override (revert it to the animation).

#### Parameters

##### part

`string` | `number`

#### Returns

`boolean`

***

### clearTrack()

> **clearTrack**(`track`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:931](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L931)

Silence a track. Track 0 cannot be emptied: [fadeTrack](#fadetrack) it to 0 instead.

#### Parameters

##### track

`number`

#### Returns

`void`

***

### collectRenderables()

> **collectRenderables**(`instructionSet`, `renderer`, `currentLayer`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/collectRenderablesMixin.d.ts:21

**`Internal`**

Collects all renderables from the container and its children, adding them to the instruction set.
This method decides whether to use a simple or advanced collection method based on the container's properties.

#### Parameters

##### instructionSet

[`InstructionSet`](https://pixijs.download/release/docs/index.html)

The set of instructions to which the renderables will be added.

##### renderer

[`Renderer`](https://pixijs.download/release/docs/index.html)

The renderer responsible for rendering the scene.

##### currentLayer

[`RenderLayer`](https://pixijs.download/release/docs/index.html)

The current render layer being processed.

#### Returns

`void`

#### Inherited from

`Container.collectRenderables`

***

### collectRenderablesSimple()

> **collectRenderablesSimple**(`instructionSet`, `renderer`, `currentLayer`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/collectRenderablesMixin.d.ts:30

**`Internal`**

Collects renderables using a simple method, suitable for containers marked as simple.
This method iterates over the container's children and adds their renderables to the instruction set.

#### Parameters

##### instructionSet

[`InstructionSet`](https://pixijs.download/release/docs/index.html)

The set of instructions to which the renderables will be added.

##### renderer

[`Renderer`](https://pixijs.download/release/docs/index.html)

The renderer responsible for rendering the scene.

##### currentLayer

[`RenderLayer`](https://pixijs.download/release/docs/index.html)

The current render layer being processed.

#### Returns

`void`

#### Inherited from

`Container.collectRenderablesSimple`

***

### collectRenderablesWithEffects()

> **collectRenderablesWithEffects**(`instructionSet`, `renderer`, `currentLayer`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/collectRenderablesMixin.d.ts:39

**`Internal`**

Collects renderables using an advanced method, suitable for containers with complex processing needs.
This method handles additional effects and transformations that may be applied to the renderables.

#### Parameters

##### instructionSet

[`InstructionSet`](https://pixijs.download/release/docs/index.html)

The set of instructions to which the renderables will be added.

##### renderer

[`Renderer`](https://pixijs.download/release/docs/index.html)

The renderer responsible for rendering the scene.

##### currentLayer

[`RenderLayer`](https://pixijs.download/release/docs/index.html)

The current render layer being processed.

#### Returns

`void`

#### Inherited from

`Container.collectRenderablesWithEffects`

***

### crossfade()

> **crossfade**(`track`, `animationName`, `durationMs`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1058](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1058)

Fade `track` to another animation over `durationMs`. On track 0 the
incoming animation takes over **from the call on**: it is
[currentAnimation](#currentanimation), its state is what [isFinished](#isfinished) reports,
its events fire, and it plays with the speed, direction and loop count
set on this player.

#### Parameters

##### track

`number`

##### animationName

`string`

##### durationMs

`number`

#### Returns

`void`

***

### destroy()

> **destroy**(`options?`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:595](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L595)

Removes all internal references and listeners as well as removes children from the display list.
Do not use a Container after calling `destroy`.

#### Parameters

##### options?

`any`

Options parameter. A boolean will act as if all options
have been set to that value

#### Returns

`void`

#### Example

```ts
container.destroy();
container.destroy(true);
container.destroy({ children: true });
container.destroy({ children: true, texture: true, textureSource: true });
```

#### Overrides

`Container.destroy`

***

### detachFromPart()

> **detachFromPart**(`target`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1379](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1379)

Stop following for `target`; reverses the parenting/visibility attach set up.

#### Parameters

##### target

[`Container`](https://pixijs.download/release/docs/index.html)

#### Returns

`void`

***

### disableRenderGroup()

> **disableRenderGroup**(): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:906

This will disable the render group for this container.

#### Returns

`void`

#### Advanced

#### Inherited from

`Container.disableRenderGroup`

***

### dispatchEvent()

> **dispatchEvent**(`e`): `boolean`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:1116

Dispatch the event on this [Container](https://pixijs.download/release/docs/index.html) using the event's EventBoundary.

The target of the event is set to `this` and the `defaultPrevented` flag is cleared before dispatch.

#### Parameters

##### e

[`FederatedEvent`](https://pixijs.download/release/docs/index.html)

The event to dispatch.

#### Returns

`boolean`

Whether the [preventDefault](https://pixijs.download/release/docs/index.html)() method was not invoked.

#### Example

```ts
// Reuse a click event!
button.dispatchEvent(clickEvent);
```

#### Inherited from

`Container.dispatchEvent`

***

### emit()

> **emit**<`T`>(`event`, ...`args`): `boolean`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:32

Calls each of the listeners registered for a given event.

#### Type Parameters

##### T

`T` *extends* keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Parameters

##### event

`T`

##### args

...`ArgumentMap`<[`ContainerEvents`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)> & [`AnyEvent`](https://pixijs.download/release/docs/index.html)>\[`Extract`<`T`, keyof AnyEvent | keyof ContainerEvents\<ContainerChild>>]

#### Returns

`boolean`

#### Inherited from

`Container.emit`

***

### enableRenderGroup()

> **enableRenderGroup**(): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:901

Calling this enables a render group for this container.
This means it will be rendered as a separate set of instructions.
The transform of the container will also be handled on the GPU rather than the CPU.

#### Returns

`void`

#### Advanced

#### Inherited from

`Container.enableRenderGroup`

***

### eventNames()

> **eventNames**(): (keyof AnyEvent | keyof ContainerEvents\<ContainerChild>)\[]

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:15

Return an array listing the events for which the emitter has registered
listeners.

#### Returns

(keyof AnyEvent | keyof ContainerEvents\<ContainerChild>)\[]

#### Inherited from

`Container.eventNames`

***

### fadeTrack()

> **fadeTrack**(`track`, `targetAlpha`, `durationMs`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1064](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1064)

Drive `track`'s alpha to `targetAlpha` over `durationMs`. Fading track 0 to 0 settles onto the setup pose.

#### Parameters

##### track

`number`

##### targetAlpha

`number`

##### durationMs

`number`

#### Returns

`void`

***

### findPartIndex()

> **findPartIndex**(`partName`): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1195](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1195)

Resolve a part name to its index, or -1 if the part is not in the current animation.

#### Parameters

##### partName

`string`

#### Returns

`number`

***

### getAnimationNames()

> **getAnimationNames**(): readonly `string`\[]

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:737](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L737)

Every animation in the bound pack, in the order the `.ssab` lists them.

The names [setAnimation](#setanimation) takes, so a host can check one before
calling rather than finding out at play time. Read out of the pack when it
is bound, so this costs no second read of the `.ssab`.

#### Returns

readonly `string`\[]

***

### getBounds()

> **getBounds**(`skipUpdate?`, `bounds?`): [`Bounds`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/measureMixin.d.ts:88

Calculates and returns the (world) bounds of the display object as a Rectangle.
Takes into account transforms and child bounds.

#### Parameters

##### skipUpdate?

`boolean`

Setting to `true` will stop the transforms of the scene graph from
being updated. This means the calculation returned MAY be out of date BUT will give you a
nice performance boost.

##### bounds?

[`Bounds`](https://pixijs.download/release/docs/index.html)

Optional bounds to store the result of the bounds calculation

#### Returns

[`Bounds`](https://pixijs.download/release/docs/index.html)

The minimum axis-aligned rectangle in world space that fits around this object

#### Example

```ts
// Basic bounds calculation
const bounds = sprite.getBounds();
console.log(`World bounds: ${bounds.x}, ${bounds.y}, ${bounds.width}, ${bounds.height}`);

// Reuse bounds object for performance
const recycleBounds = new Bounds();
sprite.getBounds(false, recycleBounds);

// Skip update for performance
const fastBounds = sprite.getBounds(true);
```

#### Remarks

* Includes transform calculations
* Updates scene graph by default
* Can reuse bounds objects
* Common in hit testing

#### See

* [Container#getLocalBounds](#getlocalbounds) For untransformed bounds
* [Bounds](https://pixijs.download/release/docs/index.html) For bounds properties

#### Inherited from

`Container.getBounds`

***

### getCellmapNames()

> **getCellmapNames**(): `string`\[]

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1255](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1255)

Cell-map names in the loaded .ssab (for discovering cell-override targets).

#### Returns

`string`\[]

***

### getCellmapTexture()

> **getCellmapTexture**(`cellmapName`): [`Texture`](https://pixijs.download/release/docs/index.html)<[`TextureSource`](https://pixijs.download/release/docs/index.html)<`any`>> | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1281](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1281)

The current runtime texture override for `cellmapName` (never the original), or undefined.

#### Parameters

##### cellmapName

`string`

#### Returns

[`Texture`](https://pixijs.download/release/docs/index.html)<[`TextureSource`](https://pixijs.download/release/docs/index.html)<`any`>> | `undefined`

***

### getCellNames()

> **getCellNames**(`cellmapName`): `string`\[]

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1260](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1260)

Cell names in the named cell map (for discovering cell-override targets).

#### Parameters

##### cellmapName

`string`

#### Returns

`string`\[]

***

### getChildAt()

> **getChildAt**<`U`>(`index`): `U`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:85

Returns the child at the specified index.

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)

#### Parameters

##### index

`number`

The index to get the child from

#### Returns

`U`

The child at the given index

#### Example

```ts
// Get first child
const first = container.getChildAt(0);

// Type-safe access
const sprite = container.getChildAt<Sprite>(1);

// With error handling
try {
    const child = container.getChildAt(10);
} catch (e) {
    console.warn('Index out of bounds');
}
```

#### Throws

If index is out of bounds

#### See

* Container#children For direct array access
* Container#getChildByLabel For name-based lookup

#### Inherited from

`Container.getChildAt`

***

### getChildByLabel()

> **getChildByLabel**(`label`, `deep?`): [`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/findMixin.d.ts:53

Returns the first child in the container with the specified label.
Recursive searches are done in a pre-order traversal.

#### Parameters

##### label

`string` | `RegExp`

Instance label to search for

##### deep?

`boolean`

Whether to search recursively through children

#### Returns

[`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)> | `null`

The first child with the specified label, or null if none found

#### Example

```ts
// Basic label search
const child = container.getChildByLabel('player');

// Search with regular expression
const enemy = container.getChildByLabel(/enemy-\d+/);

// Deep search through children
const deepChild = container.getChildByLabel('powerup', true);
```

#### See

* [Container#getChildrenByLabel](#getchildrenbylabel) For finding all matches
* [Container#label](#label) For setting labels

#### Inherited from

`Container.getChildByLabel`

***

### ~~getChildByName()~~

> **getChildByName**(`label`, `deep?`): [`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)> | `null`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/findMixin.d.ts:32

#### Parameters

##### label

`string` | `RegExp`

Instance name.

##### deep?

`boolean`

Whether to search recursively

#### Returns

[`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)> | `null`

The child with the specified name.

#### Deprecated

since 8.0.0

#### See

Container#getChildByLabel

#### Inherited from

`Container.getChildByName`

***

### getChildIndex()

> **getChildIndex**(`child`): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:130

Returns the index position of a child Container instance.

#### Parameters

##### child

[`ContainerChild`](https://pixijs.download/release/docs/index.html)

The Container instance to identify

#### Returns

`number`

The index position of the child container

#### Example

```ts
// Basic index lookup
const index = container.getChildIndex(sprite);
console.log(`Sprite is at index ${index}`);

// With error handling
try {
    const index = container.getChildIndex(sprite);
} catch (e) {
    console.warn('Child not found in container');
}
```

#### Throws

If child is not in this container

#### See

* Container#setChildIndex For changing index
* Container#children For direct array access

#### Inherited from

`Container.getChildIndex`

***

### getChildrenByLabel()

> **getChildrenByLabel**(`label`, `deep?`, `out?`): [`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)>\[]

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/findMixin.d.ts:74

Returns all children in the container with the specified label.
Recursive searches are done in a pre-order traversal.

#### Parameters

##### label

`string` | `RegExp`

Instance label to search for

##### deep?

`boolean`

Whether to search recursively through children

##### out?

[`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)>\[]

Optional array to store matching children in

#### Returns

[`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)>\[]

An array of children with the specified label

#### Example

```ts
// Basic label search
const enemies = container.getChildrenByLabel('enemy');
// Search with regular expression
const powerups = container.getChildrenByLabel(/powerup-\d+/);
// Deep search with collection
const buttons = [];
container.getChildrenByLabel('button', true, buttons);
```

#### See

* [Container#getChildByLabel](#getchildbylabel) For finding first match
* [Container#label](#label) For setting labels

#### Inherited from

`Container.getChildrenByLabel`

***

### getFastGlobalBounds()

> **getFastGlobalBounds**(`factorRenderLayers?`, `bounds?`): [`Bounds`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/getFastGlobalBoundsMixin.d.ts:23

Computes an approximate global bounding box for the container and its children.
This method is optimized for speed by using axis-aligned bounding boxes (AABBs),
and uses the last render results from when it updated the transforms. This function does not update them.
which may result in slightly larger bounds but never smaller than the actual bounds.

for accurate (but less performant) results use `container.getGlobalBounds`

#### Parameters

##### factorRenderLayers?

`boolean`

A flag indicating whether to consider render layers in the calculation.

##### bounds?

[`Bounds`](https://pixijs.download/release/docs/index.html)

The output bounds object to store the result. If not provided, a new one is created.

#### Returns

[`Bounds`](https://pixijs.download/release/docs/index.html)

The computed bounds.

#### Advanced

#### Inherited from

`Container.getFastGlobalBounds`

***

### getGlobalAlpha()

> **getGlobalAlpha**(`skipUpdate?`): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/getGlobalMixin.d.ts:35

Returns the global (compound) alpha of the container within the scene.

#### Parameters

##### skipUpdate?

`boolean`

Performance optimization flag:

* If false (default): Recalculates the entire alpha chain through parents for accuracy
* If true: Uses cached worldAlpha from the last render pass for better performance

#### Returns

`number`

The resulting alpha value (between 0 and 1)

#### Example

```ts
// Accurate but slower - recalculates entire alpha chain
const preciseAlpha = container.getGlobalAlpha();

// Faster but may be outdated - uses cached alpha
const cachedAlpha = container.getGlobalAlpha(true);
```

#### Inherited from

`Container.getGlobalAlpha`

***

### getGlobalPosition()

> **getGlobalPosition**(`point?`, `skipUpdate?`): [`Point`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/toLocalGlobalMixin.d.ts:36

Returns the global position of the container, taking into account the container hierarchy.

#### Parameters

##### point?

[`Point`](https://pixijs.download/release/docs/index.html)

The optional point to write the global value to

##### skipUpdate?

`boolean`

Should we skip the update transform

#### Returns

[`Point`](https://pixijs.download/release/docs/index.html)

The updated point

#### Example

```ts
// Basic position check
const globalPos = sprite.getGlobalPosition();
console.log(`Global: (${globalPos.x}, ${globalPos.y})`);

// Reuse point object
const point = new Point();
sprite.getGlobalPosition(point);

// Skip transform update for performance
const fastPos = container.getGlobalPosition(undefined, true);
```

#### See

* [Container#toGlobal](#toglobal) For converting specific points
* [Container#toLocal](#tolocal) For converting to local space

#### Inherited from

`Container.getGlobalPosition`

***

### getGlobalTint()

> **getGlobalTint**(`skipUpdate?`): `number`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/getGlobalMixin.d.ts:72

Returns the global (compound) tint color of the container within the scene.

#### Parameters

##### skipUpdate?

`boolean`

Performance optimization flag:

* If false (default): Recalculates the entire tint chain through parents for accuracy
* If true: Uses cached worldColor from the last render pass for better performance

#### Returns

`number`

The resulting tint color as a 24-bit RGB number (0xRRGGBB)

#### Example

```ts
// Accurate but slower - recalculates entire tint chain
const preciseTint = container.getGlobalTint();

// Faster but may be outdated - uses cached tint
const cachedTint = container.getGlobalTint(true);
```

#### Inherited from

`Container.getGlobalTint`

***

### getGlobalTransform()

> **getGlobalTransform**(`matrix?`, `skipUpdate?`): [`Matrix`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/getGlobalMixin.d.ts:56

Returns the global transform matrix of the container within the scene.

#### Parameters

##### matrix?

[`Matrix`](https://pixijs.download/release/docs/index.html)

Optional matrix to store the result. If not provided, a new Matrix will be created.

##### skipUpdate?

`boolean`

Performance optimization flag:

* If false (default): Recalculates the entire transform chain for accuracy
* If true: Uses cached worldTransform from the last render pass for better performance

#### Returns

[`Matrix`](https://pixijs.download/release/docs/index.html)

The resulting transformation matrix (either the input matrix or a new one)

#### Example

```ts
// Accurate but slower - recalculates entire transform chain
const preciseTransform = container.getGlobalTransform();

// Faster but may be outdated - uses cached transform
const cachedTransform = container.getGlobalTransform(undefined, true);

// Reuse existing matrix
const existingMatrix = new Matrix();
container.getGlobalTransform(existingMatrix);
```

#### Inherited from

`Container.getGlobalTransform`

***

### getLocalBounds()

> **getLocalBounds**(): [`Bounds`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/measureMixin.d.ts:58

Retrieves the local bounds of the container as a Bounds object.
Uses cached values when possible for better performance.

#### Returns

[`Bounds`](https://pixijs.download/release/docs/index.html)

The bounding area

#### Example

```ts
// Basic bounds check
const bounds = container.getLocalBounds();
console.log(`Width: ${bounds.width}, Height: ${bounds.height}`);
// subsequent calls will reuse the cached bounds
const cachedBounds = container.getLocalBounds();
console.log(bounds === cachedBounds); // true
```

#### See

* [Container#getBounds](#getbounds) For world space bounds
* [Bounds](https://pixijs.download/release/docs/index.html) For bounds properties

#### Inherited from

`Container.getLocalBounds`

***

### getPartNames()

> **getPartNames**(): `string`\[]

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1126](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1126)

Part names in part-index order, empty before an animation is set up.

A part authored without a name reads as the empty string, so the list
stays aligned with the `partIndex` every event carries. `length` is the
part count — there is no separate accessor for it.

#### Returns

`string`\[]

***

### getPartQuad()

> **getPartQuad**(`part`, `out?`): [`SSPartQuad`](../type-aliases/SSPartQuad.md) | `null`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1169](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1169)

The outline the part is drawn with on the frame last drawn, as four corners
`[ltx, lty, rtx, rty, lbx, lby, rbx, rby]` in the space
[getPartTransform](#getparttransform) reports — or null when the part is unknown or
hidden, or draws nothing of its own (a Null, bone, Instance or Effect part).
Skew and vertex deform are included; a Mesh part reads the box around its
vertices. Pass `out` (a `Float32Array(8)`) to avoid allocation.

#### Parameters

##### part

`string` | `number`

##### out?

`Float32Array`<`ArrayBufferLike`>

#### Returns

[`SSPartQuad`](../type-aliases/SSPartQuad.md) | `null`

***

### getPartTransform()

> **getPartTransform**(`part`, `out?`): `Float32Array`<`ArrayBufferLike`> | `null`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1142](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1142)

The part's current-frame transform as a 2D affine `[m00, m01, m10, m11,
tx, ty]` in animation-local (Y-down) space — the space this Container draws
its parts in, so an object placed under the player lands on the part. Null
when the part is unknown. Pass `out` (a `Float32Array(6)`) to avoid
allocation. Read it after a frame has advanced (e.g. from `onFrame`).

#### Parameters

##### part

`string` | `number`

##### out?

`Float32Array`<`ArrayBufferLike`>

#### Returns

`Float32Array`<`ArrayBufferLike`> | `null`

***

### getPlaybackDirection()

> **getPlaybackDirection**(): [`WebPlaybackDirection`](../enumerations/WebPlaybackDirection.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:881](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L881)

The configured heading — not the instantaneous one, which is [isPlayingForward](#isplayingforward).

#### Returns

[`WebPlaybackDirection`](../enumerations/WebPlaybackDirection.md)

***

### getPlaybackStyle()

> **getPlaybackStyle**(): [`WebPlaybackStyle`](../enumerations/WebPlaybackStyle.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:886](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L886)

What the playhead does at the far end of the section.

#### Returns

[`WebPlaybackStyle`](../enumerations/WebPlaybackStyle.md)

***

### getReplaceableTextureNames()

> **getReplaceableTextureNames**(): `string`\[]

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1286](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1286)

Names [setCellmapTexture](#setcellmaptexture) can replace (cell-map names + TextureChange targets).

#### Returns

`string`\[]

***

### getSize()

> **getSize**(`out?`): [`Size`](https://pixijs.download/release/docs/index.html)

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1136

Retrieves the size of the container as a \[Size][Size](https://pixijs.download/release/docs/index.html) object.

This is faster than get the width and height separately.

#### Parameters

##### out?

[`Size`](https://pixijs.download/release/docs/index.html)

Optional object to store the size in.

#### Returns

[`Size`](https://pixijs.download/release/docs/index.html)

The size of the container.

#### Example

```ts
// Basic size retrieval
const size = container.getSize();
console.log(`Size: ${size.width}x${size.height}`);

// Reuse existing size object
const reuseSize = { width: 0, height: 0 };
container.getSize(reuseSize);
```

#### Inherited from

`Container.getSize`

***

### getSourceEventThreshold()

> **getSourceEventThreshold**(`source`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1115](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1115)

#### Parameters

##### source

`number`

#### Returns

`number` | `undefined`

***

### getSourceFrame()

> **getSourceFrame**(`source`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1106](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1106)

#### Parameters

##### source

`number`

#### Returns

`number` | `undefined`

***

### getSourceWeight()

> **getSourceWeight**(`source`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1096](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1096)

#### Parameters

##### source

`number`

#### Returns

`number` | `undefined`

***

### getTrackAlpha()

> **getTrackAlpha**(`track`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:942](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L942)

#### Parameters

##### track

`number`

#### Returns

`number` | `undefined`

***

### getTrackBlend()

> **getTrackBlend**(`track`): [`SSTrackBlend`](../enumerations/SSTrackBlend.md) | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:952](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L952)

#### Parameters

##### track

`number`

#### Returns

[`SSTrackBlend`](../enumerations/SSTrackBlend.md) | `undefined`

***

### getTrackFadeProgress()

> **getTrackFadeProgress**(`track`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1069](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1069)

How far the fade on `track` has got, 0 to 1; `undefined` when it is not fading.

#### Parameters

##### track

`number`

#### Returns

`number` | `undefined`

***

### getTrackFrame()

> **getTrackFrame**(`track`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:971](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L971)

#### Parameters

##### track

`number`

#### Returns

`number` | `undefined`

***

### getTrackFrameRate()

> **getTrackFrameRate**(`track`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:989](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L989)

#### Parameters

##### track

`number`

#### Returns

`number` | `undefined`

***

### getTrackFrameSkipEnabled()

> **getTrackFrameSkipEnabled**(`track`): `boolean` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:998](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L998)

#### Parameters

##### track

`number`

#### Returns

`boolean` | `undefined`

***

### getTrackLoopCount()

> **getTrackLoopCount**(`track`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1024](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1024)

#### Parameters

##### track

`number`

#### Returns

`number` | `undefined`

***

### getTrackMainSource()

> **getTrackMainSource**(`track`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1079](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1079)

The source carrying `track`'s animation (mid-crossfade, the incoming one); `undefined` when none.

#### Parameters

##### track

`number`

#### Returns

`number` | `undefined`

***

### getTrackOutgoingEventThreshold()

> **getTrackOutgoingEventThreshold**(`track`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1047](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1047)

#### Parameters

##### track

`number`

#### Returns

`number` | `undefined`

***

### getTrackPlaybackDirection()

> **getTrackPlaybackDirection**(`track`): [`WebPlaybackDirection`](../enumerations/WebPlaybackDirection.md) | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1007](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1007)

#### Parameters

##### track

`number`

#### Returns

[`WebPlaybackDirection`](../enumerations/WebPlaybackDirection.md) | `undefined`

***

### getTrackPlaybackStyle()

> **getTrackPlaybackStyle**(`track`): [`WebPlaybackStyle`](../enumerations/WebPlaybackStyle.md) | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1011](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1011)

#### Parameters

##### track

`number`

#### Returns

[`WebPlaybackStyle`](../enumerations/WebPlaybackStyle.md) | `undefined`

***

### getTrackSpeed()

> **getTrackSpeed**(`track`): `number` | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:980](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L980)

#### Parameters

##### track

`number`

#### Returns

`number` | `undefined`

***

### getTrackSync()

> **getTrackSync**(`track`): [`SSTrackSync`](../enumerations/SSTrackSync.md) | `undefined`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:961](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L961)

#### Parameters

##### track

`number`

#### Returns

[`SSTrackSync`](../enumerations/SSTrackSync.md) | `undefined`

***

### hitTestPart()

> **hitTestPart**(`x`, `y`, `parts?`): `number`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1178](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1178)

The index of the front-most part whose [getPartQuad](#getpartquad) outline holds
`(x, y)` — a point in the space [getPartTransform](#getparttransform) reports — among
`parts` (names or indices; every part when omitted), or -1 when none does.

#### Parameters

##### x

`number`

##### y

`number`

##### parts?

readonly (`string` | `number`)\[]

#### Returns

`number`

***

### isPartHidden()

> **isPartHidden**(`part`): `boolean` | `null`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1147](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1147)

Whether the part is hidden on the frame last drawn (its `hide`, a visibility override included), or null if unknown.

#### Parameters

##### part

`string` | `number`

#### Returns

`boolean` | `null`

***

### isPartSkinnedMesh()

> **isPartSkinnedMesh**(`part`): `boolean` | `null`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1157](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1157)

Whether the part is a skinned (bone-bound) mesh, or null if unknown. Such a
part is a poor [attachToPart](#attachtopart) target: its node transform sits near the
character root, not on the drawn mesh. Follow a NULL / bone / joint part
placed there instead. Following is not blocked — this only flags the target.

#### Parameters

##### part

`string` | `number`

#### Returns

`boolean` | `null`

***

### isSeekLanding()

> **isSeekLanding**(`frameNo`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:850](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L850)

**`Internal`**

Whether `frameNo` is the frame a seek landed on, which the update that just ran reported though the playhead crossed none of its keys; the audio managers leave such keys unsounded.

#### Parameters

##### frameNo

`number`

#### Returns

`boolean`

***

### isTrackFinished()

> **isTrackFinished**(`track`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1029](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1029)

Whether `track`'s animation has played its loop count out and holds its last frame. A state.

#### Parameters

##### track

`number`

#### Returns

`boolean`

***

### listenerCount()

> **listenerCount**(`event`): `number`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:27

Return the number of listeners listening to a given event.

#### Parameters

##### event

keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Returns

`number`

#### Inherited from

`Container.listenerCount`

***

### listeners()

> **listeners**<`T`>(`event`): ((...`args`) => `void`)\[]

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:20

Return the listeners registered for a given event.

#### Type Parameters

##### T

`T` *extends* keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Parameters

##### event

`T`

#### Returns

((...`args`) => `void`)\[]

#### Inherited from

`Container.listeners`

***

### load()

> **load**(`ssabUrl`): `Promise`<`void`>

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:630](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L630)

Loads the SSAB file and its associated textures. Textures resolve relative
to the .ssab's own location (the structure ssconverter emits).

#### Parameters

##### ssabUrl

`string`

URL to the .ssab file

#### Returns

`Promise`<`void`>

***

### loadBuffer()

> **loadBuffer**(`ssab`, `textures`): `Promise`<`void`>

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:679](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L679)

Load a pack from bytes already in memory, with its textures supplied by
cell-map hash — for packs that are not URL-addressable (drag-and-drop, an
in-memory bundle). The counterpart of `load()`, and the same signature
`ssplayer-webgl` takes. Each texture may be a URL, the encoded bytes of an
image (PNG/JPEG), or a decoded image source.

#### Parameters

##### ssab

`ArrayBuffer` | `Uint8Array`<`ArrayBufferLike`>

The `.ssab` bytes.

##### textures

`Map`<`number`, `string` | `ArrayBuffer` | `Uint8Array`<`ArrayBufferLike`> | `HTMLImageElement` | `HTMLCanvasElement` | `ImageBitmap`>

Cell-map name hash → URL / encoded bytes / image source.

#### Returns

`Promise`<`void`>

***

### off()

> **off**<`T`>(`event`, `fn?`, `context?`, `once?`): `this`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:69

#### Type Parameters

##### T

`T` *extends* keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Parameters

##### event

`T`

##### fn?

(...`args`) => `void`

##### context?

`any`

##### once?

`boolean`

#### Returns

`this`

#### Inherited from

`Container.off`

***

### on()

> **on**<`T`>(`event`, `fn`, `context?`): `this`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:40

Add a listener for a given event.

#### Type Parameters

##### T

`T` *extends* keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Parameters

##### event

`T`

##### fn

(...`args`) => `void`

##### context?

`any`

#### Returns

`this`

#### Inherited from

`Container.on`

***

### onAnimationFinished()

> **onAnimationFinished**(`listener`): [`Unsubscribe`](../type-aliases/Unsubscribe.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1338](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1338)

Fires once every configured loop has played. Never under an infinite loop count, nor on stop().

#### Parameters

##### listener

() => `void`

#### Returns

[`Unsubscribe`](../type-aliases/Unsubscribe.md)

***

### onAnimationLooped()

> **onAnimationLooped**(`listener`): [`Unsubscribe`](../type-aliases/Unsubscribe.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1343](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1343)

Fires on each loop boundary crossing.

#### Parameters

##### listener

() => `void`

#### Returns

[`Unsubscribe`](../type-aliases/Unsubscribe.md)

***

### onAnimationStarted()

> **onAnimationStarted**(`listener`): [`Unsubscribe`](../type-aliases/Unsubscribe.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1333](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1333)

Fires when playback heads out — a `play()`, including one an autoplay or a
host script issued rather than the caller. Not a resume: lifting a pause
carries on, it does not start.

#### Parameters

##### listener

() => `void`

#### Returns

[`Unsubscribe`](../type-aliases/Unsubscribe.md)

***

### onAudio()

> **onAudio**(`listener`): [`Unsubscribe`](../type-aliases/Unsubscribe.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1324](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1324)

Registers an audio event listener. Returns an unsubscribe function.

#### Parameters

##### listener

(`e`) => `void`

#### Returns

[`Unsubscribe`](../type-aliases/Unsubscribe.md)

***

### once()

> **once**<`T`>(`event`, `fn`, `context?`): `this`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:54

Add a one-time listener for a given event.

#### Type Parameters

##### T

`T` *extends* keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Parameters

##### event

`T`

##### fn

(...`args`) => `void`

##### context?

`any`

#### Returns

`this`

#### Inherited from

`Container.once`

***

### onFrame()

> **onFrame**(`listener`): [`Unsubscribe`](../type-aliases/Unsubscribe.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1353](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1353)

Fires once per advanced frame, right after the timeline updated and its
world matrices are final — the point at which [getPartTransform](#getparttransform) is
valid for the new frame. Returns an unsubscribe function. Not fired while
the player is stopped (the ticker early-returns).

#### Parameters

##### listener

(`frame`) => `void`

#### Returns

[`Unsubscribe`](../type-aliases/Unsubscribe.md)

***

### onSignal()

> **onSignal**(`listener`): [`Unsubscribe`](../type-aliases/Unsubscribe.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1319](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1319)

Registers a signal event listener (active signals only). Returns an unsubscribe function.

#### Parameters

##### listener

(`e`) => `void`

#### Returns

[`Unsubscribe`](../type-aliases/Unsubscribe.md)

***

### onUserData()

> **onUserData**(`listener`): [`Unsubscribe`](../type-aliases/Unsubscribe.md)

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1314](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1314)

Registers a user-data event listener. Returns an unsubscribe function.

#### Parameters

##### listener

(`e`) => `void`

#### Returns

[`Unsubscribe`](../type-aliases/Unsubscribe.md)

***

### pause()

> **pause**(): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:757](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L757)

#### Returns

`void`

***

### play()

> **play**(`startFrame?`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:752](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L752)

#### Parameters

##### startFrame?

`number` = `-1`

#### Returns

`void`

***

### removeAllListeners()

> **removeAllListeners**(`event?`): `this`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:79

Remove all listeners, or those of the specified event.

#### Parameters

##### event?

keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Returns

`this`

#### Inherited from

`Container.removeAllListeners`

***

### removeChild()

> **removeChild**<`U`>(...`children`): `U`\[`0`]

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:885

Removes one or more children from the container.
When removing multiple children, events will be triggered for each child in sequence.

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)\[]

#### Parameters

##### children

...`U`

The Container(s) to remove

#### Returns

`U`\[`0`]

The first child that was removed

#### Example

```ts
// Remove a single child
const removed = container.removeChild(sprite);

// Remove multiple children
const bg = container.removeChild(background, player, userInterface);

// Remove with type checking
const sprite = container.removeChild<Sprite>(childSprite);
sprite.texture = newTexture;
```

#### See

* [Container#addChild](#addchild) For adding children
* [Container#removeChildren](#removechildren) For removing multiple children

#### Inherited from

`Container.removeChild`

***

### removeChildAt()

> **removeChildAt**<`U`>(`index`): `U`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:61

Removes a child from the specified index position.

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)

#### Parameters

##### index

`number`

The index to remove the child from

#### Returns

`U`

The child that was removed

#### Example

```ts
// Remove first child
const removed = container.removeChildAt(0);

// type safe access
const sprite = container.removeChildAt<Sprite>(1);

// With error handling
try {
    const child = container.removeChildAt(10);
} catch (e) {
    console.warn('Index out of bounds');
}
```

#### Throws

If index is out of bounds

#### See

* Container#removeChild For removing specific children
* Container#removeChildren For removing multiple children

#### Inherited from

`Container.removeChildAt`

***

### removeChildren()

> **removeChildren**(`beginIndex?`, `endIndex?`): [`ContainerChild`](https://pixijs.download/release/docs/index.html)\[]

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:37

Removes all children from this container that are within the begin and end indexes.

#### Parameters

##### beginIndex?

`number`

The beginning position

##### endIndex?

`number`

The exclusive ending position. Default is container size

#### Returns

[`ContainerChild`](https://pixijs.download/release/docs/index.html)\[]

List of removed children

#### Example

```ts
// Remove all children
container.removeChildren();

// Remove first 3 children
const removed = container.removeChildren(0, 3);
console.log('Removed:', removed.length); // 3

// Remove children from index 2 onwards
container.removeChildren(2);

// Remove specific range
const middle = container.removeChildren(1, 4);
```

#### Throws

If begin/end indexes are invalid

#### See

* Container#addChild For adding children
* Container#removeChild For removing specific children

#### Inherited from

`Container.removeChildren`

***

### removeEventListener()

#### Call Signature

> **removeEventListener**<`K`>(`type`, `listener`, `options?`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:1104

Unlike `off` or `removeListener` which are methods from EventEmitter, `removeEventListener`
seeks to be compatible with the DOM's `removeEventListener` with support for options.

##### Type Parameters

###### K

`K` *extends* keyof FederatedEventMap | keyof GlobalFederatedEventMap

##### Parameters

###### type

`K`

The type of event the listener is bound to.

###### listener

(`e`) => `any`

The listener callback or object.

###### options?

[`RemoveListenerOptions`](https://pixijs.download/release/docs/index.html)

The original listener options.
This is required to deregister a capture phase listener.

##### Returns

`void`

##### Inherited from

`Container.removeEventListener`

#### Call Signature

> **removeEventListener**(`type`, `listener`, `options?`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/events/FederatedEventTarget.d.ts:1105

##### Parameters

###### type

`string`

###### listener

`EventListenerOrEventListenerObject`

###### options?

[`RemoveListenerOptions`](https://pixijs.download/release/docs/index.html)

##### Returns

`void`

##### Inherited from

`Container.removeEventListener`

***

### removeFromParent()

> **removeFromParent**(): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:203

Remove the Container from its parent Container. If the Container has no parent, do nothing.

#### Returns

`void`

#### Example

```ts
// Basic removal
sprite.removeFromParent();

// With validation
if (sprite.parent) {
    sprite.removeFromParent();
}
```

#### See

* Container#addChild For adding to a new parent
* Container#removeChild For parent removing children

#### Inherited from

`Container.removeFromParent`

***

### removeListener()

> **removeListener**<`T`>(`event`, `fn?`, `context?`, `once?`): `this`

Defined in: node_modules/.pnpm/eventemitter3@5.0.4/node_modules/eventemitter3/index.d.ts:63

Remove the listeners of a given event.

#### Type Parameters

##### T

`T` *extends* keyof AnyEvent | keyof ContainerEvents\<ContainerChild>

#### Parameters

##### event

`T`

##### fn?

(...`args`) => `void`

##### context?

`any`

##### once?

`boolean`

#### Returns

`this`

#### Inherited from

`Container.removeListener`

***

### reparentChild()

> **reparentChild**<`U`>(...`child`): `U`\[`0`]

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:224

Reparent a child or multiple children to this container while preserving their world transform.
This ensures that the visual position and rotation of the children remain the same even when changing parents.

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)\[]

#### Parameters

##### child

...`U`

The child or children to reparent

#### Returns

`U`\[`0`]

The first child that was reparented

#### Example

```ts
// Basic reparenting
const sprite = new Sprite(texture);
oldContainer.addChild(sprite);
// Move to new parent, keeping visual position
newContainer.reparentChild(sprite);

// Reparent multiple children
const batch = [sprite1, sprite2, sprite3];
newContainer.reparentChild(...batch);
```

#### See

* Container#reparentChildAt For index-specific reparenting
* Container#addChild For simple parenting

#### Inherited from

`Container.reparentChild`

***

### reparentChildAt()

> **reparentChildAt**<`U`>(`child`, `index`): `U`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:243

Reparent the child to this container at the specified index while preserving its world transform.
This ensures that the visual position and rotation of the child remain the same even when changing parents.

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)

#### Parameters

##### child

`U`

The child to reparent

##### index

`number`

The index to reparent the child to

#### Returns

`U`

The reparented child

#### Example

```ts
// Basic index-specific reparenting
const sprite = new Sprite(texture);
oldContainer.addChild(sprite);
// Move to new parent at index 0 (front)
newContainer.reparentChildAt(sprite, 0);
```

#### Throws

If index is out of bounds

#### See

* Container#reparentChild For appending reparented children
* Container#addChildAt For simple indexed parenting

#### Inherited from

`Container.reparentChildAt`

***

### replaceChild()

> **replaceChild**<`U`, `T`>(`oldChild`, `newChild`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:249

Replace a child in the container with a new child. Copying the local transform from the old child to the new one.

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)

##### T

`T` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)

#### Parameters

##### oldChild

`U`

The child to replace.

##### newChild

`T`

The new child to add.

#### Returns

`void`

#### Inherited from

`Container.replaceChild`

***

### resume()

> **resume**(): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:770](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L770)

#### Returns

`void`

***

### setAnimation()

> **setAnimation**(`animationName`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:741](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L741)

#### Parameters

##### animationName

`string`

#### Returns

`void`

***

### setAnimationSection()

> **setAnimationSection**(`startFrame`, `endFrame`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:860](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L860)

Limits playback to `[startFrame, endFrame]`, both ends included; an end
outside the animation (`-1`) is its edge on that side. Returns false, and
says so once in the console, when both ends are inside the animation and
the end is before the start; the section is then left as it was.

#### Parameters

##### startFrame

`number`

##### endFrame

`number`

#### Returns

`boolean`

***

### setAnimationSectionByLabel()

> **setAnimationSectionByLabel**(`startLabel`, `endLabel`, `startOffset?`, `endOffset?`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:872](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L872)

[setAnimationSection](#setanimationsection) with the ends named by labels of the current
animation, each with an offset in frames. `_start` / `_end` name the
animation's first / last frame. Returns false, and says so once in the
console, when the animation has no such label or the frames it lands on
are a section [setAnimationSection](#setanimationsection) refuses; the section is then
left as it was.

#### Parameters

##### startLabel

`string`

##### endLabel

`string`

##### startOffset?

`number` = `0`

##### endOffset?

`number` = `0`

#### Returns

`boolean`

***

### setCellmapTexture()

> **setCellmapTexture**(`cellmapName`, `texture`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1275](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1275)

Runtime texture replacement: bind `texture` for a cell-map / external-texture
name (costume changes, dynamic expressions), or pass `null` to restore the
original. `cellmapName` is a [getReplaceableTextureNames](#getreplaceabletexturenames) entry — a
cell-map name (`common`) or a TextureChange target file name (`common.png`).

The `texture` is caller-owned and never destroyed by the player; it must be
a same-size, same-layout atlas as the original (UVs are normalized by the
bound texture's size). Instance children share this player's textures, so a
name used by a child's sub-animation is replaced there too.

#### Parameters

##### cellmapName

`string`

##### texture

[`Texture`](https://pixijs.download/release/docs/index.html)<[`TextureSource`](https://pixijs.download/release/docs/index.html)<`any`>> | `null`

#### Returns

`void`

***

### setChildIndex()

> **setChildIndex**(`child`, `index`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:108

Changes the position of an existing child in the container.

#### Parameters

##### child

[`ContainerChild`](https://pixijs.download/release/docs/index.html)

The child Container instance to reposition

##### index

`number`

The resulting index number for the child

#### Returns

`void`

#### Example

```ts
// Basic index change
container.setChildIndex(sprite, 0); // Move to front
container.setChildIndex(sprite, container.children.length - 1); // Move to back

// With error handling
try {
    container.setChildIndex(sprite, 5);
} catch (e) {
    console.warn('Invalid index or child not found');
}
```

#### Throws

If index is out of bounds

#### Throws

If child is not in container

#### See

* Container#getChildIndex For getting current index
* Container#swapChildren For swapping positions

#### Inherited from

`Container.setChildIndex`

***

### setDebugVisible()

> **setDebugVisible**(`visible`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:621](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L621)

#### Parameters

##### visible

`boolean`

#### Returns

`void`

***

### setFromMatrix()

> **setFromMatrix**(`matrix`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1223

Updates the local transform properties by decomposing the given matrix.
Extracts position, scale, rotation, and skew from a transformation matrix.

#### Parameters

##### matrix

[`Matrix`](https://pixijs.download/release/docs/index.html)

The matrix to use for updating the transform

#### Returns

`void`

#### Example

```ts
// Basic matrix transform
const matrix = new Matrix()
    .translate(100, 100)
    .rotate(Math.PI / 4)
    .scale(2, 2);

container.setFromMatrix(matrix);

// Copy transform from another container
const source = new Container();
source.position.set(100, 100);
source.rotation = Math.PI / 2;

target.setFromMatrix(source.localTransform);

// Reset transform
container.setFromMatrix(Matrix.IDENTITY);
```

#### See

* [Container#updateTransform](#updatetransform) For property-based updates
* [Matrix#decompose](https://pixijs.download/release/docs/index.html) For matrix decomposition details

#### Inherited from

`Container.setFromMatrix`

***

### setMask()

> **setMask**(`options`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/effectsMixin.d.ts:229

Used to set mask and control mask options on a display object.
Allows for more detailed control over masking behavior compared to the mask property.

#### Parameters

##### options

`Partial`<[`MaskOptionsAndMask`](https://pixijs.download/release/docs/index.html)>

Configuration options for the mask

#### Returns

`void`

#### Example

```ts
import { Graphics, Sprite } from 'pixi.js';

// Create a circular mask
const graphics = new Graphics()
    .beginFill(0xFF3300)
    .drawCircle(100, 100, 50)
    .endFill();

// Apply mask with options
sprite.setMask({
    mask: graphics,
    inverse: true, // Create a hole effect
});

// Use the alpha channel for masking (useful for sprites with transparency)
sprite.setMask({
    mask: maskSprite,
    channel: 'alpha',
});

// Clear existing mask
sprite.setMask({ mask: null });
```

#### See

* [Container#mask](#mask) For simple masking
* [MaskOptionsAndMask](https://pixijs.download/release/docs/index.html) For full options API
* [MaskOptions#channel](https://pixijs.download/release/docs/index.html) For channel selection

#### Inherited from

`Container.setMask`

***

### setPartCellOverride()

> **setPartCellOverride**(`part`, `cellmapName`, `cellName`, `priority?`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1235](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1235)

Make a Normal / mask part draw a different cell, named by its cell map (without .ssce) and cell name.

#### Parameters

##### part

`string` | `number`

##### cellmapName

`string`

##### cellName

`string`

##### priority?

[`SSOverridePriority`](../enumerations/SSOverridePriority.md) = `SSOverridePriority.HoldUntilNextAnimation`

#### Returns

`boolean`

***

### setPartColorOverride()

> **setPartColorOverride**(`part`, `rgba`, `blendOp?`, `priority?`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1210](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1210)

Override a Normal part's colour with a single `0xRRGGBBAA` value (all four corners).

#### Parameters

##### part

`string` | `number`

##### rgba

`number`

##### blendOp?

[`SSBlendOp`](../enumerations/SSBlendOp.md) = `SSBlendOp.Mix`

##### priority?

[`SSOverridePriority`](../enumerations/SSOverridePriority.md) = `SSOverridePriority.HoldUntilNextAnimation`

#### Returns

`boolean`

***

### setPartColorOverrideCorners()

> **setPartColorOverrideCorners**(`part`, `corners`, `blendOp?`, `priority?`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1220](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1220)

Override a Normal part's colour with four `0xRRGGBBAA` corners (left-top, right-top, left-bottom, right-bottom).

#### Parameters

##### part

`string` | `number`

##### corners

readonly \[`number`, `number`, `number`, `number`]

##### blendOp?

[`SSBlendOp`](../enumerations/SSBlendOp.md) = `SSBlendOp.Mix`

##### priority?

[`SSOverridePriority`](../enumerations/SSOverridePriority.md) = `SSOverridePriority.HoldUntilNextAnimation`

#### Returns

`boolean`

***

### setPartVisibilityOverride()

> **setPartVisibilityOverride**(`part`, `hide`, `cascade?`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1200](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1200)

Force-hide a part (or revert it to the animation), optionally cascading to its descendants.

#### Parameters

##### part

`string` | `number`

##### hide

`boolean`

##### cascade?

`boolean` = `false`

#### Returns

`boolean`

***

### setPlaybackDirection()

> **setPlaybackDirection**(`direction`, `style`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:876](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L876)

#### Parameters

##### direction

[`WebPlaybackDirection`](../enumerations/WebPlaybackDirection.md)

##### style

[`WebPlaybackStyle`](../enumerations/WebPlaybackStyle.md)

#### Returns

`void`

***

### setSize()

> **setSize**(`value`, `height?`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1151

Sets the size of the container to the specified width and height.
This is more efficient than setting width and height separately as it only recalculates bounds once.

#### Parameters

##### value

`number` | [`Optional`](https://pixijs.download/release/docs/index.html)<[`Size`](https://pixijs.download/release/docs/index.html), `"height"`>

This can be either a number or a \[Size][Size](https://pixijs.download/release/docs/index.html) object.

##### height?

`number`

The height to set. Defaults to the value of `width` if not provided.

#### Returns

`void`

#### Example

```ts
// Basic size setting
container.setSize(100, 200);

// Set uniform size
container.setSize(100); // Sets both width and height to 100
```

#### Inherited from

`Container.setSize`

***

### setSourceEventThreshold()

> **setSourceEventThreshold**(`source`, `threshold`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1111](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1111)

The weight at or above which `source` fires its events; only track 0's main source fires by default.

#### Parameters

##### source

`number`

##### threshold

`number`

#### Returns

`void`

***

### setSourceFrame()

> **setSourceFrame**(`source`, `frame`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1101](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1101)

Seek one source.

#### Parameters

##### source

`number`

##### frame

`number`

#### Returns

`void`

***

### setSourceWeight()

> **setSourceWeight**(`source`, `weight`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1091](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1091)

A source's share within its track; weights are ratios.

#### Parameters

##### source

`number`

##### weight

`number`

#### Returns

`void`

***

### setTrackAlpha()

> **setTrackAlpha**(`track`, `alpha`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:937](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L937)

How much of `track` survives onto the pose below — the strength of a layer. Not clamped.

#### Parameters

##### track

`number`

##### alpha

`number`

#### Returns

`void`

***

### setTrackAnimation()

> **setTrackAnimation**(`track`, `animationName`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:925](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L925)

Put an animation on `track` with no fade. On track 0 it becomes [currentAnimation](#currentanimation) at once.

#### Parameters

##### track

`number`

##### animationName

`string`

#### Returns

`void`

***

### setTrackBlend()

> **setTrackBlend**(`track`, `blend`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:947](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L947)

Mix onto what is below, or add the offset from the setup pose.

#### Parameters

##### track

`number`

##### blend

[`SSTrackBlend`](../enumerations/SSTrackBlend.md)

#### Returns

`void`

***

### setTrackFrame()

> **setTrackFrame**(`track`, `frame`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:966](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L966)

Seek `track`'s animation — how a continuous-control axis is driven, with its speed at 0.

#### Parameters

##### track

`number`

##### frame

`number`

#### Returns

`void`

***

### setTrackFrameRate()

> **setTrackFrameRate**(`track`, `fps`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:985](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L985)

[frameRate](#framerate) for one track.

#### Parameters

##### track

`number`

##### fps

`number`

#### Returns

`void`

***

### setTrackFrameSkipEnabled()

> **setTrackFrameSkipEnabled**(`track`, `skip`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:994](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L994)

[frameSkipEnabled](#frameskipenabled) for one track.

#### Parameters

##### track

`number`

##### skip

`boolean`

#### Returns

`void`

***

### setTrackLoopCount()

> **setTrackLoopCount**(`track`, `count`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1020](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1020)

How many times `track`'s animation plays before it holds its last frame;
`-1` loops forever. Set it after laying: an animation is laid looping
forever. On track 0 this is [loopCount](#loopcount), kept across every switch.

#### Parameters

##### track

`number`

##### count

`number`

#### Returns

`void`

***

### setTrackOutgoingEventThreshold()

> **setTrackOutgoingEventThreshold**(`track`, `threshold`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1043](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1043)

How far into a crossfade on `track` the outgoing animation keeps firing
events: while its share, `1 - progress`, is at least `threshold`. The
default, `Infinity`, silences it the moment the fade begins.

#### Parameters

##### track

`number`

##### threshold

`number`

#### Returns

`void`

***

### setTrackPlaybackDirection()

> **setTrackPlaybackDirection**(`track`, `direction`, `style`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1003](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1003)

[setPlaybackDirection](#setplaybackdirection) for one track.

#### Parameters

##### track

`number`

##### direction

[`WebPlaybackDirection`](../enumerations/WebPlaybackDirection.md)

##### style

[`WebPlaybackStyle`](../enumerations/WebPlaybackStyle.md)

#### Returns

`void`

***

### setTrackSpeed()

> **setTrackSpeed**(`track`, `speed`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:976](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L976)

`track`'s playback speed; 0 parks it. On track 0 this is [speedScale](#speedscale).

#### Parameters

##### track

`number`

##### speed

`number`

#### Returns

`void`

***

### setTrackSync()

> **setTrackSync**(`track`, `sync`): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:957](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L957)

Where animations laid on `track` from now on start: their head, or track 0's phase. Set it before laying.

#### Parameters

##### track

`number`

##### sync

[`SSTrackSync`](../enumerations/SSTrackSync.md)

#### Returns

`void`

***

### stop()

> **stop**(): `void`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:766](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L766)

Ends playback. The playhead **stays where it stands** — nothing rewinds, so
the sprite keeps drawing the frame it stopped on. `play()` is what returns
to the head; `setFrameNo()` seeks anywhere else.

#### Returns

`void`

***

### swapChildren()

> **swapChildren**<`U`>(`child`, `child2`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/childrenHelperMixin.d.ts:187

Swaps the position of 2 Containers within this container.

#### Type Parameters

##### U

`U` *extends* [`ContainerChild`](https://pixijs.download/release/docs/index.html)

#### Parameters

##### child

`U`

First container to swap

##### child2

`U`

Second container to swap

#### Returns

`void`

#### Example

```ts
// Basic swap
container.swapChildren(sprite1, sprite2);

// With error handling
try {
    container.swapChildren(sprite1, sprite2);
} catch (e) {
    console.warn('One or both children not found in container');
}
```

#### Remarks

* Updates render groups
* No effect if same child
* Triggers container changes
* Common in z-ordering

#### Throws

If either child is not in container

#### See

* Container#setChildIndex For direct index placement
* Container#getChildIndex For getting current positions

#### Inherited from

`Container.swapChildren`

***

### toGlobal()

> **toGlobal**<`P`>(`position`, `point?`, `skipUpdate?`): `P`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/toLocalGlobalMixin.d.ts:64

Calculates the global position of a point relative to this container.
Takes into account the container hierarchy and transforms.

#### Type Parameters

##### P

`P` *extends* [`PointData`](https://pixijs.download/release/docs/index.html) = [`Point`](https://pixijs.download/release/docs/index.html)

#### Parameters

##### position

[`PointData`](https://pixijs.download/release/docs/index.html)

The local point to convert

##### point?

`P`

Optional point to store the result

##### skipUpdate?

`boolean`

Whether to skip transform updates

#### Returns

`P`

The global position

#### Example

```ts
// Basic point conversion
const localPoint = { x: 10, y: 20 };
const globalPoint = container.toGlobal(localPoint);

// With point reuse
const reusePoint = new Point();
container.toGlobal(localPoint, reusePoint);

// Performance optimization
const fastPoint = container.toGlobal(
    { x: 50, y: 50 },
    undefined,
    true // Skip transform update
);
```

#### See

* [Container#toLocal](#tolocal) For reverse conversion
* [Container#getGlobalPosition](#getglobalposition) For container position

#### Inherited from

`Container.toGlobal`

***

### toLocal()

> **toLocal**<`P`>(`position`, `from?`, `point?`, `skipUpdate?`): `P`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/container-mixins/toLocalGlobalMixin.d.ts:100

Calculates the local position of the container relative to another point.
Converts coordinates from any coordinate space to this container's local coordinate space.

#### Type Parameters

##### P

`P` *extends* [`PointData`](https://pixijs.download/release/docs/index.html) = [`Point`](https://pixijs.download/release/docs/index.html)

#### Parameters

##### position

[`PointData`](https://pixijs.download/release/docs/index.html)

The world origin to calculate from

##### from?

[`Container`](https://pixijs.download/release/docs/index.html)<[`ContainerChild`](https://pixijs.download/release/docs/index.html)>

The Container to calculate the global position from

##### point?

`P`

A Point object in which to store the value

##### skipUpdate?

`boolean`

Should we skip the update transform

#### Returns

`P`

A point object representing the position in local space

#### Example

```ts
// Basic coordinate conversion
const worldPoint = { x: 100, y: 100 };
const localPos = container.toLocal(worldPoint);

// Convert from another container
const fromSprite = new Sprite(texture);
fromSprite.position.set(50, 50);
const pointInSprite = { x: 10, y: 10 };
const localPoint = container.toLocal(pointInSprite, fromSprite);

// With point reuse for performance
const reusePoint = new Point();
container.toLocal(worldPoint, undefined, reusePoint);

// Skip transform update for static objects
const fastLocal = container.toLocal(
    worldPoint,
    undefined,
    undefined,
    true
);
```

#### See

* [Container#toGlobal](#toglobal) For reverse conversion
* [Container#getGlobalPosition](#getglobalposition) For container position

#### Inherited from

`Container.toLocal`

***

### trackJustLooped()

> **trackJustLooped**(`track`): `boolean`

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:1034](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L1034)

Whether the last tick wrapped `track`'s animation back to its start. A pulse, as [justLooped](#justlooped) is.

#### Parameters

##### track

`number`

#### Returns

`boolean`

***

### updateLocalTransform()

> **updateLocalTransform**(): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1225

Updates the local transform.

#### Returns

`void`

#### Inherited from

`Container.updateLocalTransform`

***

### updateTransform()

> **updateTransform**(`opts`): `this`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:1195

Updates the transform properties of the container.
Allows partial updates of transform properties for optimized manipulation.

#### Parameters

##### opts

`Partial`<[`UpdateTransformOptions`](https://pixijs.download/release/docs/index.html)>

Transform options to update

#### Returns

`this`

This container, for chaining

#### Example

```ts
// Basic transform update
container.updateTransform({
    x: 100,
    y: 200,
    rotation: Math.PI / 4
});

// Scale and rotate around center
sprite.updateTransform({
    pivotX: sprite.width / 2,
    pivotY: sprite.height / 2,
    scaleX: 2,
    scaleY: 2,
    rotation: Math.PI
});

// Update position only
button.updateTransform({
    x: button.x + 10, // Move right
    y: button.y      // Keep same y
});
```

#### See

* [Container#setFromMatrix](#setfrommatrix) For matrix-based transforms
* [Container#position](#position) For direct position access

#### Inherited from

`Container.updateTransform`

***

### initialize()

> `static` **initialize**(`wasmUrl?`): `Promise`<`void`>

Defined in: [packages/ssplayer-pixi/src/SSPlayer.ts:161](https://github.com/cri-middleware/SSPlayerForWeb/blob/eb9d544908210befb40d3729ed6fde7adc44f61a/packages/ssplayer-pixi/src/SSPlayer.ts#L161)

#### Parameters

##### wasmUrl?

`string` | `URL`

#### Returns

`Promise`<`void`>

***

### ~~mixin()~~

> `static` **mixin**(`source`): `void`

Defined in: node_modules/.pnpm/pixi.js@8.23.0/node_modules/pixi.js/lib/scene/container/Container.d.ts:605

Mixes all enumerable properties and methods from a source object to Container.

#### Parameters

##### source

[`Dict`](https://pixijs.download/release/docs/index.html)<`any`>

The source of properties and methods to mix in.

#### Returns

`void`

#### Deprecated

since 8.8.0

#### Inherited from

`Container.mixin`
