Perhaps add all objects to a group, then check if that group is in collision with the player. If so, get the number of items from that group currently picked.
One way would be to have all objects in a group “objects” and run a For each instance of “objects” group, checking if objects are in collision with the player. Everytime the condition (collision) is true, add 1 to a counter. This counter will be the number of objects in collision with the player.
Great idea! The objects are already in a group, but the expression / condition that returns picked instances does not account for collisions (may be a bug / something on my end?). I could use the “pick nearest”. Will update this thread if I find anything!