[SOLVED] Error on code after new script conversion

Hello i have an error in this script https://playcanvas.com/editor/code/674858?tabs=29533291&line=149&col=13&error=truei 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.

Sorry forgot…tired as hell :blush:

1 Like

Ah, that is the jQuery alias used in most web scripts, but since you are out of context here replace that line with:


Do the same with any other line calling jQuery, and make sure you have that library loaded before any script is calling it.

great thanks @Leonidas it works fine.

1 Like