// Get the rectangle element
const rect = document.querySelector("rect");
// Access the animated transform list (if any)
const animTransforms = rect.transform.animVal;
// Log the animated transforms to the console
console.dir(animTransforms);SVGAnimatedTransformList.animVal Property / notebook
SVGAnimatedTransformList.animVal Property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.