# Visibility Collision Event

## Intro#

Affect the Visibility or Opacity of Shapes when they collide.

## UI#

Mode -

• Visibility - Hide Shapes when they collide. Note that this does not remove the Shapes from the collision.
• Opacity - Set the Shape's Opacity when it collides.

Visibility - If a Body starts with its visibility off, checking this attribute will set the Body's visibility to on after its first collision.

Opacity - Set the Opacity to be applied to a Shape when it collides.

Specific Collisions - When checked, use the Collision Numbers attribute to define which collisions are used.

Collision Numbers - Enter a value to specify which collision(s) are used to trigger the event. 0 is the first collision and use comma sperated values to include mutliple collisions. For example, entering 0,2 would include the first and third collisions.