Let \(T_\beta ~(\beta >2)\) be the \(\beta \) -transformation on (0, 1]. Fix some \(x_0\in [0,1]\) whose \(\beta \) -expansion does not include the characters 0 and \(\lceil \beta \rceil -1\) , given a nonnegative real number \({\hat{v}}\) , we compute the Hausdorff dimension of the set of all real numbers \(x\in (0,1]\) with the property that, for every sufficiently large integer N, there is an integer \(n\in [1,N]\) such that the distance between \(T_\beta ^nx\) and \(x_0\) is at most equal to \(\beta ^{-N{\hat{v}}}\) . This work generalizes the result of Bugeaud and Liao [9] where only \(x_0=0\) was taken into consideration.