IsPatternBall enabled show the style selection option.
When Is It Available?
The Select Style button appears in the Element Properties panel only when:- The selected element is a Ball
- The ball’s template has
IsPatternBall = true
Opening the Selector
- Select a side with a pattern ball
- Press V to open Element Properties
- Click Select Style
Selecting a Style
- The selector opens with a grid of available pattern styles
- Browse the grid — each style shows a visual preview
- Click on a style to apply it
- The selector closes and the ball’s visual appearance updates
How Styles Work
Styles are applied through the ball template’sOnSavePatternStyle method. This method takes the selected style data and applies it to the ball’s visual renderer.
The style selection:
- Is stored on the ball instance
- Is saved with the level data
- Can be changed at any time
- Does not affect gameplay mechanics (visual only)
Cancelling
Press Escape or close the selector without selecting a style to keep the current appearance.Ball styles are purely visual. They change how the ball looks but do not affect its behavior, speed, or any gameplay properties.