Online learning in higher education is becoming increasingly common as the possibilities of the available digital infrastructure expand. A recent emergent driver for online learning is the closing of universities to limit the spread of the coronavirus (COVID-19). Many educators are now faced with the need to make their teaching digital, though they have little or no experience with online teaching methods. In such a situation, learning outcomes may come second to what can be readily implemented by available digital resources. In this paper, a design for student-active online learning in engineering is proposed as a guide to help take account of learning objectives first, and the digital tools and resources necessary to achieve those objectives second. In addition, the paper emphasises the social dimension of online learning, and recommends that explicit actions should be taken to increase positive social relations between students in an online course to be able to succeed with student-active learning methods. In the paper, a clear path is followed from objectives to learning activities, and then to assessments and evaluations, and appropriate digital tools and resources are suggested to support activities and evaluations in an online course. Online courses in engineering are targeted in particular, and challenges that arise from common activities such as problem solving and practical work in an online engineering course are addressed. The proposed guide emphasises usability to ensure that it can be used even by inexperienced digital educators, and an example on how the guide can be applied to design an online course in mobile robotics is given. The proposed guide aims to help shift online learning in engineering from traditionally teacher-active lectures to more student-active learning activities.