[SOLVED] Script attributes not parsing


#1

Ok so I was workin on this jump function for a movement script but as I tried parsing the attribute the jforce wouldn’t load is this a bug or is there a bug in my code?
Heres the code link:https://playcanvas.com/editor/code/647402?tabs=24643045

Screenshot:


#2

You need to replace setDefault to default for the attribute to appear in the editor.

img


#3

lol ye ik I fixed realized tht yesterday lol