Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 894 Bytes

visible.md

File metadata and controls

32 lines (24 loc) · 894 Bytes
title type layout parent_section
visible
components
docs
components

The visible component defines whether or not an entity is rendered.

Example

<a-entity visible="false"></a-entity>

Value

Value Description
true The entity will be rendered and visible; the default value.
false The entity will not be rendered nor visible. The entity will still exist in the scene.

Animating Visibility

The visible value can be "animated" to delay the visibility of an entity:

<!-- Wait 1 second before showing the entity. -->
<a-entity visible="false">
  <a-animation attribute="visible" begin="1000" to="true"></a-animation>
</a-entity>