<svg width="120" height="100" viewBox="0 0 120 100"> <g> <rect x="0" y="0" width="30" height="30" style="fill: #ccc;"/> <circle cx="30" cy="30" r="15" style="fill: #cfc; stroke: green;"/> <animateMotion from="0,0" to="60,30" dur="4s" fill="freeze"/> </g>