Closed mentalrob closed 1 month ago
I think it's a typo on the wiki, or something changed from older versions. The dynamic values like parent.w
in the code should not be surrounded in braces {}
. Remove all the braces around the dynamic values you're using.
Yeah you are right, it was a typo in the wiki. But it caused a lot of trouble to me, i spent around 3 hours to figure out whats wrong 😄 .
Describe the bug
I'm trying to run a code snippet shared in https://basalt.madefor.cc/#/objects/Frame
But it throws an error
dynamicValues.lua:51: attempt to preform arithmetic on a table value
To Reproduce
Steps to reproduce the behavior:
Basalt
asbasalt
Expected behavior
Example code should work
Screenshots
Additional context
Checklist
[X] I am running the latest version. Tick the box if you are running the latest version!