So I am trying to make an animation(frames) on the object play when you hit the craft or smelt button. One problem, I dont know how to program with lua(only a small basic idea) so I was hoping someone could help. I took this from the beacon files but it is simmilar to what I need function onInteraction(args) (NOTE: I don't want it on interaction(assuming that's when you hit e on the obj) if not (no Idea what to put here) () then object.setAnimationState("beaconState", "idle") else object.setAnimationState("beaconState", "active") end end (no Idea what this stuff is) function hasCapability(capability) return false end