I haven’t tried to compile yet. I’m still getting things put together. Is this just VSCode being a pain? When I mouse-over, it says it isn’t defined. The text matches; no subtle differences in spelling.
Nevermind. Figured it out. The variable targetPositions only exists in a block that belongs to the function I call, similar to ownership in Rust. I didn’t understand that before.