Skip to main content
Glama

Move Layer

photopea_move_layer

Move a layer by relative X and Y pixel offsets in Photopea. Shift elements right/down with positive values or left/up with negative values to automate precise positioning in design workflows.

Instructions

Translate a layer by a relative x/y offset in pixels from its current position. Positive x moves right, positive y moves down. Use get_layers to check current layer bounds, or transform_layer for scaling and rotation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesLayer name (string) or index (number)
xYesHorizontal offset in pixels (positive = right, negative = left)
yYesVertical offset in pixels (positive = down, negative = up)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/attalla1/photopea-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server