diff --git a/packages/math/vector/index.hooks.js b/packages/math/vector/index.hooks.js index 3dfd8e4..60b29d7 100644 --- a/packages/math/vector/index.hooks.js +++ b/packages/math/vector/index.hooks.js @@ -19,6 +19,18 @@ export function behaviorContextTypes() { }], ], }, + sub: { + type: 'vector', + label: 'Subtract $2 from $1.', + args: [ + ['l', { + type: 'vector', + }], + ['r', { + type: 'vector', + }], + ], + }, }), }; }