Operator argument #2 must precede operator argument #1 #6

Closed
opened 2025-10-14 18:01:59 -06:00 by navan · 0 comments
Owner

Originally created by @GregerSundvall on 1/14/2021

Hi and thanks for this awesome tutorial! It's a great project and I really like how you're presenting it.
I've run into a problem a bunch of times though that i really dont get. I'm somewhere in the beginning of part 3 now and i'm told to enter
player.direction = input.velocity / length in world.update.
byt that gives me the error
Operator argument #2 must precede operator argument #1
I've gotten this a few times before and then i've been able to flip it around since it's been multiplication. This time however it's division so i can't flip it.
I've googled the error without finding anything but I'm pretty new to coding so maybe it's just me...

*Originally created by @GregerSundvall on 1/14/2021* Hi and thanks for this awesome tutorial! It's a great project and I really like how you're presenting it. I've run into a problem a bunch of times though that i really dont get. I'm somewhere in the beginning of part 3 now and i'm told to enter player.direction = input.velocity / length in world.update. byt that gives me the error Operator argument #2 must precede operator argument #1 I've gotten this a few times before and then i've been able to flip it around since it's been multiplication. This time however it's division so i can't flip it. I've googled the error without finding anything but I'm pretty new to coding so maybe it's just me...
navan closed this issue 2025-10-14 18:02:16 -06:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/RetroRampage#6
No description provided.