---
title: "getComment"
canonical: "https://support.appfire.com/space/PSJ/15485988/getComment"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | getComment(); | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns the comment entered in a transition screen, or an empty string if no comment has been entered or the transition doesn't have a screen.

Returns the comment entered in a transition screen, or an empty string if no comment has been entered or the transition doesn't have a screen.

## Return Type

**String**

The returned value is the comment entered in the transition screen. If the transition doesn't have a screen or no comment was entered, an empty string is returned.

## Example

```
getComment();
```

Returns: The comment entered **in the transition screen**, or an empty string.

## See also

> Macro (contentbylabel)