Snippets

renderTom AE Script: Reset PSR

Created by renderTom -
(function () {
	resetPSR();

	function resetPSR() {
		var composition;

		composition = app.project.activeItem;
		if (!composition || !(composition instanceof CompItem))
			return alert("Please select composition first");

		app.beginUndoGroup("Reset PSR");
		app.executeCommand(2605); // Transform -> Reset
		app.endUndoGroup();
	}
})();

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.