TL;DR Whether or not the block will start moving (sliding) depends only on the inclination angle $\theta$ and the static friction coefficient $\mu_s$ of the inclined surface. The block will move when the following condition is satisfied
$$\boxed{\theta > \arctan \mu_s}$$
Below I give detailed derivation for this condition.
The magnitude of static friction force is defined as
$$|\vec{f}_s| = \mu_s |\vec{n}|$$
where $\mu_s$ is coefficient of static friction and $\vec{n}$ is the normal force. Static friction force always acts in the direction opposite to the motion.
Setup a coordinate system for the inclined surface such that $\hat{\imath}$ axis points along the surface in the downwards direction, and $\hat{\jmath}$ axis is $90^\circ$ clockwise from the $\hat{\imath}$ axis, i.e. perpendicular to the surface pointing upwards.
With respect to this coordinate system, the normal and downward forces are
$$\vec{n} = w \cos\theta \hat{\jmath} \quad \text{and} \quad \vec{d} = w \sin\theta \hat{\imath}$$
where $w = mg$ is the object weight, and $\theta$ is the angle of the surface to horizontal. Try to evaluate the above vectors for extreme cases:
- horizontal surface is when $\theta = 0^\circ$, then $\vec{n} = w \hat{\jmath}$ and $\vec{d} = 0\hat{\imath}$
- vertical surface is when $\theta = 90^\circ$, then $\vec{n} = 0 \hat{\jmath}$ and $\vec{d} = w \hat{\imath}$
Therefore, the magnitude of the static friction force is
$$|\vec{f}_s| = \mu_s w \cos\theta$$
For block to start moving (sliding) along the surface, the downward force must overcome the static friction force
$$w \sin\theta > \mu_s w \cos\theta$$
which can also be written as
$$\theta > \arctan \mu_s$$
To conclude, whether or not the block will start moving depends only on the inclination angle $\theta$ and the static friction coefficient $\mu_s$ of the inclined surface.
Once the block starts moving (sliding), there is no longer static friction force but kinetic friction force which also acts in the direction opposite to the motion
$$|\vec{f}_k| = \mu_k |\vec{n}|$$
where $\mu_k$ is the coefficient of kinetic friction. Note that in general $\mu_k < \mu_s$.