# [PPro UXP 26] How do I write a PointKeyframe value? (Motion / Transform Position)

Hi @Yukiry,

Sharing this from a separate thread, but for writing you can use the PointF class to write values for PointKeyframes.

const point = new ppro.PointF(0.2, 0.2);

// #1) Writing `tmpl.value`
tmpl.value = point;

// #2) param.createKeyframe(...)
param.createKeyframe(point);

// #3) param.createSetValueAction(...)
param.createSetValueAction(point);

// #4) param.getKeyframePtr(TickTime)
const kfPtr = param.getKeyframePtr(tt);
kfPtr.value = point;

For 5 and 6, PointKeyframe shouldn’t be constructed directly. When you call something like param.createKeyframe(...) with a PointF value, you’ll get a PointKeyframe instance returned.