Exposing upload percentage in custom plugin

I am writing a plugin that uses the uploadContent method. I am trying to expose the percentage complete as an exposed state.

Bubble’s native file uploader comes with this out of the box.

Is there a way to allow my plugin to expose the same thing as bubble’s element?

Thanks

I realized I have to check this box:
image

Which now gives me the instance.uploadFile function