Combining functions

what’s the best way to combine these onrelease functions here so i dont have to repeat the same lines of code?


myBtn0A.onRelease = function() {
	same AS in here
};
myBtn0B.onRelease = function() {
	same AS in here
};