not possible to write "vertical" or "horizontal"

in c# script if i write vertical it will automatically turn into wrapmode and this will make the roll-a-ball game impossible to make because i’ll be getting a error message saying: unexpected symbol:rb. does anyone know how to fix this?

“it will”… what are you referring to?

we’re not looking at your screen, we cannot see what you are doing, we are not in your head so we don’t know what you are trying to do.

if you are getting errors in a script, post the error, post your code (using the [code ][/code ] tags, sticky on them at the top of the forum)

1 Like

Can you post the script causing problems (use code tags) & the exact error message you are getting.

I think his issue is intellisense.
Im assuming he is trying to do this Input.GetAxis(“Vertical”), however he is probably writing vertical without the quotes, which causes intellisense to act up and cause him to write the class VerticalWrapMode.

Just put “” around vertical and horizontal like this “Vertical” “Horizontal”. The quotes basically say “This is a string”.