RNN to Predict Multivariate Data From Multivariate Data?

Hello Everyone, I’ve been experimenting with using RNNs to perform a prediction FROM multivariate time-series data. My question, is it possible to use a RNN to predict Multivariate Data? A ball moving around a 2D grid is a basic example. I pass in the X,Y coordinates to the RNN and it will predict the next X,Y. Or maybe a separate RNN is needed for X and Y?