HUD · target-lock
Target lock
Candidate boxes with ids and rising MATCH % appear over a scene half a second apart; four L-brackets fly in from the frame corners, close in and snap onto the target (1.4 to 1.0 scale), a lock ratchet ring fills, then a "TARGET LOCKED" banner opens from the centre with coordinates typing below. Works over a built-in crate scene, your image, or transparent as an overlay.
A free, MIT-licensed HUD graphic from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Target lock is for
Gaming edits, tech reviews ("found the bug") and product highlights on a screenshot, face or map; pairs with target-lock-box (different 45-degree style).
Details
- Category
- HUD & sci-fi interface graphics
- Length
- 6.0 s (180 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
label- Colour props
backgroundaccentlockColor- Image props
src- Mood
- photo, hud
- Roles
- accent, subject
Use Target lock in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add target-lock --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render target-lock --props '{"label":"TARGET LOCKED","background":"#101A2C","accent":"#3CF2FF","lockColor":"#FFD23F","src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export target-lock --as webm-alpha --props '{"label":"TARGET LOCKED","background":"#101A2C","accent":"#3CF2FF","lockColor":"#FFD23F","src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="target-lock"
props={{
label: 'TARGET LOCKED',
background: '#101A2C',
accent: '#3CF2FF',
lockColor: '#FFD23F',
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="target-lock"
props='{"label":"TARGET LOCKED","background":"#101A2C","accent":"#3CF2FF","lockColor":"#FFD23F","src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "target-lock",
"props": {
"label": "TARGET LOCKED",
"background": "#101A2C",
"accent": "#3CF2FF",
"lockColor": "#FFD23F",
"src": ""
}
}
]
}Target lock props
11 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
target | {"x":0.56,"y":0.5,"size":220} | lock target {x, y as fractions of the frame, size in px at 1080p} |
candidates | [{"x":0.26,"y":0.4,"size":150,"id":"ID-0412","match":38},{"x":0.76,"y":0.34,"size":130,… | candidate boxes [{x, y, size, id, match}] shown 0.5 s apart; match >= 90 uses the accent colour |
label | "TARGET LOCKED" | banner text (scramble-decoded) |
coords | "X 0.560 · Y 0.500 · CONF 97.4%" | line typed under the banner |
src | "" | optional image (public/ path) used as the backdrop instead of the crate scene |
background | "#101A2C" | scene colour; 'transparent' renders only the HUD for use as an overlay |
accent | "#3CF2FF" | candidate / grid colour |
lockColor | "#FFD23F" | bracket-lock, ratchet and banner colour |
firstCandidate | 12 | frame the first candidate appears |
candidateEvery | 15 | frames between candidates (15 = 0.5 s) |
lockAt | 112 | frame the brackets snap on (they start 13 frames earlier) |
Related motions

Target lock box
"Look here now" pointers for product features, UI walkthroughs, sports/video analysis and spec explainers.
target-lock-box
Agent roster
Multi-agent dashboards, leaderboards and AI benchmark videos; overlay-capable with background "transparent".
agent-roster
Alert re-ink wave
The climax beat of any HUD, alert or "status changed" moment; generalises to any palette swap (day to night, calm to alarm, brand A to…
alert-reink-wave
Cam chip + sync badge
Honest multi-source footage labelling over any split screen, multicam recap, surveillance / CCTV look or UGC wall.
cam-chip-sync-badge
Day ring dial
A "day in the life" clock for time-lapse films, shift / operations timelines or any time-of-day structure; overlay it (background…
day-ring-dial
Event feed
Live-event tickers (deploys, sales, alerts, game kills) over dashboards, gameplay or product demos; overlay-capable with background…
event-feed
Notes & credits
Technique sources:
- mg-styles-15 demos/22-hud/js/hud.js brackets() / acquire() / banner() (MIT)