line 33 as an example. Kind of difficult to google for this not sure what to look for. Thanks.
You can use backslash \ to separate new line.
3 Likes
For the exact behavior as in the screenshot, you can use “Edit/Toggle Word Wrap”.
5 Likes
I’d do it differently than a backslash, because it doesn’t improve readbility. That’s better IMO for long if statements with lots of ands and ors. I’d do this:
if collider:
var object: Object = colldier.get_collider()
object.knockback = (object.global_position - global_position).normalized * 50
1 Like
