I am trying to get Mouse Constraints working but I keep getting the error code "ReplicatedStorage.Nature2D.Plugins.MouseConstraint:48: attempt to index nil with 'snap'" I couldn't find any fix on DevForums so I came here, I have the code from the website and tried some others listed on dev forums and they all had the same error message. Do I need any extra variables or is it a simple new code line? Please help :)
So far I have
I have looked on devforums and the website, no youtube videos about it that i can find about the error code or mouse constraints in general.
Description
I am trying to get Mouse Constraints working but I keep getting the error code "ReplicatedStorage.Nature2D.Plugins.MouseConstraint:48: attempt to index nil with 'snap'" I couldn't find any fix on DevForums so I came here, I have the code from the website and tried some others listed on dev forums and they all had the same error message. Do I need any extra variables or is it a simple new code line? Please help :)
So far I have
I have looked on devforums and the website, no youtube videos about it that i can find about the error code or mouse constraints in general.
Lastly
N/A