This is an example of what I mean
As you can see console.log prints “clicked” when you click on the floor and graves
I want the radius number to change when I click on the scene
This is an example of what I mean
As you can see console.log prints “clicked” when you click on the floor and graves
I want the radius number to change when I click on the scene
Change the count and call setRadius should do it.
console.log('clicked')
myObj.count = 5;
radius = setRadius();
I did but it still doesn’t work