Etymology
Today it means: To play around in a silly manner. Full definition →
act + goat
Etymology from Wiktionary, CC BY-SA 4.0.