# Adding shadow to long Frame title text

Want to add shadows in the frame title, which can be multiline. Tried a few solutions, none of them worked for me. Any help?

Adding codes from here, MWE:

\documentclass{beamer}

\usepackage{pgfplots, pgfplotstable,stackengine}

\ifx#1\relax\else
\fi%
}
\ifx#1\relax\else
\fi%
}

\def\primarycolor{black}%
\def\secondarycolor{black!30}%

{\textcolor{\primarycolor}{#1}}{\textcolor{\secondarycolor}{#1}}}%

\setbeamercolor{frametitle}{fg = black}%, bg = black
\setbeamertemplate{frametitle}{%
\vskip-3pt
\begin{beamercolorbox}[sep=0.6em,wd=\paperwidth,leftskip=0cm,rightskip=0cm]{frametitle}%
\vspace{-2pt}\par