How to gather/mine a recourse for a rts game?

What code do you currently have that isn’t working? Please post a snippet or picture of the corresponding blueprint.