[RPG] attack with a weapon and then cast Shocking Grasp in one turn

dnd-5espellsweapons

It's my first time in 5E D&D and I have played 3.5 before as a DM. I am playing as a high elf Rogue at level 1, and because I'm a High Elf I get a wizard cantrip. Can I attack with my rapier then use shocking grasp in the same turn?

Best Answer

The "Attack" action and the "Cast a Spell" action are two completely different actions, you only get 1 action per round barring specific class features. As a result unless otherwise specified no you cannot both cast shocking grasp and attack with a weapon on the same turn. (That is kinda Eldritch Knight's shindig.)