Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | JustTon |
func _process(delta):
if (position.x < 0): || (position.x > get_viewport_rect( ).size.x):
speed.x *= -1 ;
position += speed ;
Error parsing expression, misplaced 'or'
If i white ‘or’ > new error : error parsing expession, missplased '|'
Also: I think you don’t need semicolons ‘;’ after each line.
unfa | 2018-06-21 11:51