pixijs-scene-container

Group, position, and transform display objects in PixiJS v8 scenes.

2|2|Updated May 1, 2026
One-click install
npx skills add https://github.com/adamhjk/mvtt --skill pixijs-scene-container-adamhjk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pixijs-scene-container
Source: https://github.com/adamhjk/mvtt/tree/main/.agents/skills/pixijs-scene-container
Command: npx skills add https://github.com/adamhjk/mvtt --skill pixijs-scene-container-adamhjk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It simplifies grouping, positioning, and transforming display objects within PixiJS scenes, enabling efficient scene graph management.

Core Features & Use Cases

  • Grouping and Positioning: Create nested containers with precise control over their spatial attributes.
  • Transform Management: Apply complex transformations like scale, rotation, skew, and pivot without affecting child positions.
  • Use Case: Build a character composed of multiple sprites, position and rotate the group as a whole, and adjust layering with z-index.

Quick Start

Create a container with custom properties, add sprites, and set the container's position to organize your scene visually.

Frequently Asked Questions about pixijs-scene-container

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I group and transform multiple sprites in a PixiJS scene graph?

You group and transform multiple sprites in a PixiJS scene graph by nesting display objects inside containers. This allows you to apply spatial transformations to the parent, adjusting the entire group without altering individual child positions.

What is the best way to manage complex scene composition and UI layering in PixiJS v8?

Managing complex scene composition and UI layering in PixiJS v8 is best handled through hierarchical containers. By organizing display objects into nested groups, you achieve precise control over spatial attributes and consistent, performant rendering across layers.

How do I apply scale and pivot transformations to a character without affecting child sprite positions?

You apply scale and pivot transformations without affecting child sprite positions by configuring the parent container's transform properties. Modifying the container's pivot, skew, or rotation adjusts the visual rendering of the group while maintaining the relative layout of its children.

Does PixiJS support adjusting z-index for nested display objects in a container?

Yes, PixiJS supports adjusting z-index for nested display objects within a container. You can control the visual layering of sprites and other elements by modifying their z-index properties to ensure proper rendering order in complex scenes.

Why does rotating a parent container change the absolute position of my child display objects?

Rotating a parent container changes the absolute position of child display objects because transformations apply to the entire group's coordinate space. Children maintain their relative positions inside the container, but their global coordinates update based on the parent's rotation and pivot.