Hi Seren, welcome to the the forum. We recommend uploading a file as this makes troubleshooting tremendously easier. As far as I can tell, you’re overwriting the points in your grid
variable with what is returned from the Curve.Contains
method. Having line numbers in the screenshot helps, but here’s the offending bits highlighted:
1 Like