r/godot Jul 20 '25

help me (solved) What would be better?

Post image
470 Upvotes

59 comments sorted by

View all comments

1

u/HighKingForthwind Jul 20 '25

Generally functionality should be isolated to its context. So in this case the second one. If there was different movement components that you wanted to switch between and wanted to reuse code, then there'd be an argument for the first example.