The rock–paper–scissors(RPS) game is a nice model to study the biodiversity in an ecosystem. However, in the previous studies only the nearest-neighbor interaction among the species was considered. In this paper, taking the longrange migration into account, the effects of the interplay between nearest-neighbor-interaction and long-range-interaction given by Levy flight with distance distribution lh( 3 ≤ h < 1) in the spatial RPS game are investigated. Taking the probability, exchange rate, and power-law exponent of Levy flight as parameters, the coexistence conditions of three species are given. The critical curves for stable coexistence of three species in the parameter space are presented. It is also found that Levy flight has interesting effects on the final spatiotemporal pattern of the system. The results reveal that the longrange-interaction given by Levy flight exhibits pronounced effects on biodiversity of the ecosystem.