From what I can understand, you can add decorators to any node, whether it’s a composite (like a selector) or a task. And decorators are essentially logic checks. So let’s say we have a simple true/false check for some condition. Most of the tutorials have it set up that there’s a decorator on a selector that only has a single task (so if true, execute that task).
What’s the difference between that and putting the decorator directly on the task itself? For example
vs
If I understand how decorators work correctly, don’t these do the same things?