Hello! Today I encountered a problem with tables. So I was making a drawing canvas sort of like a screen to Draw with using code or UserInputService. It has a Size of 64x64 bricks. And I already have a Drawing function that takes in two Arguments: X coordinate and a Y coordinate (and yes it works completely fine and draws to that exact point without any issues).
Now it was inefficient to copy and paste the function multiple times for each point, so I wanted to create a table filled with 2D points then loop through each one to draw to the screen. But it was not that simple since I kept getting this error:
Argument 1 missing or nil
which was annoying so I decided to ask you guys! Help will be Awesome!
Well, what does your code look like? It’s hard to help you if we don’t know what you pass in as arguments and what the function that takes the arguments does.