The rotation of organic cations is considered to be an important reason for the dynamic changes in stability and photoelectric properties of organic perovskites. However, the specific effect of organic cations rotation on formamidine based perovskite is still unknown. In our work, first-principles calculations based on density functional theory are used to examine the effect of the rotation of formamidine cations in FAPbI3 and FA0.875Cs0.125PbI3. We have comprehensively calculated the structure, electronic and optical properties of them. We found a coupling effect between formamidine cations rotation and cesium atom. This coupling effect changes the inclination angle of octahedron to regulate electron distribution, band gaps, and optical absorption. Hence, changing the cation orientation and substitution atom is a feasible way to dynamically adjust the energy band, dielectric constant and absorption edge of perovskite. Preparing perovskite with tunable properties is just around the corner through this way.