hey man im like three seconds to trashing all my projects trying to create an art based combat system for my adventure game. How can I go about on creating an invisible button so when a certain key is press a sword MC on the main time line plays and it has to work on all four side something simple, Im not asking for anything difficult. I coded somthing similar to this once but it didnt work my character moves okay but when the space key is press the character does nothing. I wanna use somthin simple like from a platformer type of game minus the jumping,gravity, n stuff just the combat parts.
example: maybe if I attach the sword MC to the MainCharacter MC in the orignal time line and create the invisble button off stage and code it so when I press the space key it will play the animation of the sword swinging then add the hitest any ideas also some coding would be nice :thumb: ?