Smart cursor