Question: I'm using A-frame to create a 3d experience but I'm having trouble figuring out how I can make this entity pictured above scale down every

I'm using A-frame to create a 3d experience but I'm having trouble figuring out how I can make this entity pictured above scale down every time I click on it. Basically, I need something that will allow the user to click on the primitive triangle, and every time they click on it gets smaller. Is there a way I can implement javascript to enable this functionality?
The geometric shape exists within a scene built in html.


14 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
