# AE UXP Needs Code Samples in Docs + Sample UXP Panel

**URL:** <https://forums.creativeclouddeveloper.com/t/ae-uxp-needs-code-samples-in-docs-sample-uxp-panel/12350>\
**Category:** After Effects\
**Tags:** uxp, javascript, api-feedback\
**Created:** [October 21, 2026, 6:56pm UTC](https://forums.creativeclouddeveloper.com/t/ae-uxp-needs-code-samples-in-docs-sample-uxp-panel/12350 "2026-10-21T18:56:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin2taylor](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/justin2taylor/32/2031_2.png) [@justin2taylor](https://forums.creativeclouddeveloper.com/u/justin2taylor)\
**Post date:** [October 21, 2026, 6:56pm UTC](https://forums.creativeclouddeveloper.com/t/ae-uxp-needs-code-samples-in-docs-sample-uxp-panel/12350/1 "2026-10-21T18:56:12Z")

</div>

Having Code Samples in the AE UXP documentation is going to be really important as just defining the objects & properties in the docs like it is now doesn’t show devs how things fit together.

* * *

For example the [RenderQueue](https://developer.adobe.com/after-effects/uxp/after-effects-api/renderqueue) object is documented, but there’s no instructions on how to use it.

In ExtendScript we would use functions on it directly like

```javascript
app.project.renderQueue.queueInAME(true)

```

In UXP, it seems we need to instantiate the object to access the methods:

```javascript
const rq = new aftereffects.RenderQueue();
rq.queueInAME(false)

```

Currently there isn’t a way to know this from the documentation aside from trial and error.

* * *

And on a similar note, having a sample panel is useful for developers to see different examples of various behaviors in the API. I think the Premiere UXP sample panel is a good reference: [GitHub - AdobeDocs/uxp-premiere-pro-samples · GitHub](https://github.com/AdobeDocs/uxp-premiere-pro-samples)

---

<div class="post-metadata">

**Author:** ![justin2taylor](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/justin2taylor/32/2031_2.png) [@justin2taylor](https://forums.creativeclouddeveloper.com/u/justin2taylor)\
**Post date:** [October 21, 2026, 7:18pm UTC](https://forums.creativeclouddeveloper.com/t/ae-uxp-needs-code-samples-in-docs-sample-uxp-panel/12350/2 "2026-10-21T19:18:56Z")

</div>

Also worth noting, the only code sample I can find in the docs is incorrect.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/f/f7ae32fa026d40eaf9a94b0b0247f1e2fcbc03c3.png)

At least in 27.1.0 (Build 21) You’d need to get the app object first:

```javascript
const aftereffects = require("aftereffects");
const app = aftereffects.app;

app.beginUndoGroup("Update composition");

// Make changes to the active project.

app.endUndoGroup();

```
