Hello i have an error in this script PlayCanvas | HTML5 Game Engine was wondering why. Anyone can help me to solve this?
Hi @ayrin,
What’s the error? The link you posted points to the error line, but doesn’t display the error message.
Ah, that is the jQuery alias used in most web scripts, but since you are out of context here replace that line with:
jQuery('ul.context-menu__items').empty();
Do the same with any other line calling jQuery, and make sure you have that library loaded before any script is calling it.