Using HOA to write to multiple tags

Is there a way to set up an HOA button to write to multiple tags at the same time?

Could use an OnProperty change script, filtered to check when the control var changes and write that change to a series of tags.

I think it would look something like this…

if event.propertyName == "Control Value":
	system.tag.writeToTag('[Client]tag1', event.newValue)
	system.tag.writeToTag('[Client]tag2', event.newValue)
	system.tag.writeToTag('[Client]tag3', event.newValue)