Driver-control period programming help

I am programming in VEXcode pro v5, and I have come across an error when programming the driver control period. Here is the text:
Motor1.setVelocity(Controller1.Axis3.position()**.**percent );

The period between the empty set of parenthesis and the word percent is the one that is causing the error. It says that “member reference base type ‘int32_t’ (aka ‘long’) is not a structure or union.” I have no clue what this means, as I am new to programming. I am using this video as a reference: Use Competition Template in VEXCode V5 Text - YouTube. I am not using a drivetrain. Thank you for your help, and don’t forget to vote!

omg i’m so dumb I figured out what i was doing wrong: i couldn’t see very well in the video, and it turns out there needed a comma instead of a period ;-;

3 Likes