Issues with multitasking

I have been trying to create a task in Vexcode, but keep getting errors and I can’t tell why the function is and int and here is my code (yes I know position is mispelled)

task myTask = task(get_postion(1,1,1,1,1,1,1,1));

Can you post your entire code? It would make it easier to see what the problem is. Remember to make three backticks (```) before you paste it in so it is intelligible. :grinning:

You cannot pass multiple parameters in that way to a task. Are you sure you actually need a task and not just a function call ?

6 Likes

I’ll just change the parameters to be included in the function thanks for the help, I was trying to get the absolute position tracking working while all other functions are happening