# Panel position on the screen

**URL:** <https://forums.creativeclouddeveloper.com/t/panel-position-on-the-screen/7857>\
**Category:** UXP Plugin API\
**Created:** [May 7, 2024, 1:11pm UTC](https://forums.creativeclouddeveloper.com/t/panel-position-on-the-screen/7857 "2024-05-07T13:11:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arcusfelis](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/arcusfelis/32/3009_2.png) [@arcusfelis](https://forums.creativeclouddeveloper.com/u/arcusfelis)\
**Post date:** [May 7, 2024, 1:11pm UTC](https://forums.creativeclouddeveloper.com/t/panel-position-on-the-screen/7857/1 "2024-05-07T13:11:44Z")

</div>

Hi,

I am trying to get the position of the panel on the screen. CEP panels allowed to ask Photoshop by providing panelID:

```auto
const panelID = "myceppanel";
const batchPlay = require("photoshop").action.batchPlay;
   return batchPlay(
      [{ "_obj": "uiInfo",
      "_target": { "_ref": "application", "_enum": "ordinal", "_value": "targetEnum" },
      "command": "getViewInfo", "viewID": "$flpn",
      "panel": panelID,
      "_options": { "dialogOptions": "dontDisplay" } }],
      {}
   );

```

It would return:

```auto
[{"view":{"class":"TCEPPanel","viewID":"$flpn","signature":"$ofcv",
"globalBounds":{"top":0,"bottom":200,"left":0,"right":208},
"shown":false,"visible":true,"type":"view"},"command":"getViewInfo","dontRecord":true,"forceNotify":true}]

```

While it looks like UXP panels do not allow to use that API (they would trigger " **Could not complete your request because a command was not available**" error)
