I am wondering how it would be possible using JavaScript and HTMl (aframe.io) to only show a gltf model if a variable has a certain vaue. For example, if I have a variable called x and x = 5 than show the gltf but if x doesn't equal 5 than hide the gltf. Here is the code for my gltf model.
<a-gltf-model static-body position="0 0 0" rotation="0 90 0" scale="0.2 0.2 0.2" src="https://cdn.glitch.com/6632f840-a210-4bdc-a62f-bc38e65ae48a%2Fscene%20-%202021-05-16T191327.675.glb?v=1621217617851"></-a-gltf-model>