# ActionSet-\>Action selected action step?

**URL:** <https://forums.creativeclouddeveloper.com/t/actionset-action-selected-action-step/3745>\
**Category:** UXP Plugin API\
**Created:** [October 17, 2021, 12:52pm UTC](https://forums.creativeclouddeveloper.com/t/actionset-action-selected-action-step/3745 "2021-10-17T12:52:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwallstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/cwallstrom/32/1701_2.png) [@cwallstrom](https://forums.creativeclouddeveloper.com/u/cwallstrom)\
**Post date:** [October 17, 2021, 12:52pm UTC](https://forums.creativeclouddeveloper.com/t/actionset-action-selected-action-step/3745/1 "2021-10-17T12:52:18Z")

</div>

Hello!

Does anyone know if there is a way to read out the action steps in an action?  
I want to be able to resume a stopped action at the step it was stopped, but I have no way of finding out the currently selected step.

photoshop.app.actionTree doesn’t seem to expose this.

I know how to play an action from a certain step using:

```auto
_obj: "play",
            _target: [
                {
                    _ref: "command",
                    _index: <insert index here>
                },
                {
                    _ref: "action",
                    _name: actionName
                },
                {
                    _ref: "actionSet",
                    _name: actionSetName
                }
            ],
            continue: true,
            _options: {
                dialogOptions: "dontDisplay"
            }

```

Thanks!

---

<div class="post-metadata">

**Author:** ![Jarda](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/jarda/32/1909_2.png) [@Jarda](https://forums.creativeclouddeveloper.com/u/Jarda)\
**Post date:** [October 18, 2021, 8:18pm UTC](https://forums.creativeclouddeveloper.com/t/actionset-action-selected-action-step/3745/2 "2021-10-18T20:18:10Z")

</div>

> [@cwallstrom](#):
>
> one know if there is a way to read out the action steps in an action?  
> I want to be

I am not exactly sure about your use case but the Alchemist plugin contains an Occultist panel that can convert actions into source code and provide very good control.
