# Conditional rendering

Since Norska's scene is affected by alpine the same way the DOM is, Norska supports conditional rendering of everything that composes your scene. Just wrap any element in a [`<template>` tag with the `x-if` directive](https://alpinejs.dev/directives/if).

{% hint style="warning" %}
All directives and functions will then be re-executed, which can be very costly in terms of performance. If you just want to make an element disappear, use [Object3D's visible property](https://threejs.org/docs/#api/en/core/Object3D.visible) instead.
{% endhint %}
