> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/nedyx/clearlines-functions/action-functions/actionrow.md).

# ACTIONROW

Returns the index of the row, which was selected before or after the current action.

#### Syntax

**ACTIONROW**(*pointInTime*)

* *pointInTime* - defines if the index of the selected row *before* or *after* the current action should be returned - ***Value type**: constant (optional, default value: <mark style="color:red;">after</mark>)*\
  Possible values are:
  * *<mark style="color:red;">before</mark>* - returns the index of the selected row *before* the action
  * *<mark style="color:red;">after</mark>* - returns the index of selected row *after* the action

#### Remarks

* If there is no selected row, e.g. if the function is called during an Fx action, the function returns 0.

#### Example

![](https://3148043601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FL43fiRbeRtPnTjMpbGNO%2Fuploads%2Fgit-blob-5af22cd4c6f3b6c6f3357e96c5adf724a66bcc38%2Fgrafik%20\(131\).png?alt=media)
