Animation trigger on click

hi im new to this stuff and ive been trying through trial and error to make an object (a door) trigger an animation when someone clicks it, have it stay in that state until someone clicks it again. the closest ive been finding has been using vrc_trigger stuff and as far as i know thats not how this stuff is done anymore, can anyone help me out? it seemed super easy with the vrc_trigger stuff but now i cant figure it out