EDIT: Sorry, I hadn't realized that Function in Construct 2 didn't work like the Function object in Construct Classic, the info Aphrodite posted will work though.
--------
You can manually choose that when you call the function, so technically it can do both.
If you want to pick all of an object after calling a function, you can use the System condition "Pick All"
Hope that helps