Differentiating between viewports
I am getting an error, "Duplicate const var declaration" when I add script for a second viewport. How can I differentiate between the two?
Christoph Hart last edited by
John has a brother who is also named John. His parents confused them all the time. So he called himself Steve and the problem was gone. Variable names also can't be used twice.
ulrik last edited by
@TNTHM every component need to have a unique id so you have to have another id on your second viewport.